#0C403F color
The hex color #0C403F is a very dark, moderate cyan.
In the RGB color model it is made of 4.7% red, 25.1% green and 24.7% blue (12, 64, 63).
Its hue angle is 179°, with 68% saturation and 15% lightness. For print, the CMYK equivalent is 81% cyan, 0% magenta, 2% yellow and 75% black.
The closest named color is Botanical Night (#12403C), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.53:1).
#0C403F color codes
| HEX | #0C403F | |
|---|---|---|
| RGB | rgb(12, 64, 63) | |
| RGB percent | rgb(4.7%, 25.1%, 24.7%) | |
| HSL | hsl(179, 68%, 15%) | |
| HSV / HSB | hsv(179, 81%, 25%) | |
| CMYK | cmyk(81%, 0%, 2%, 75%) | |
| CIE LAB | lab(24.01, -16.55, -4.23) | |
| CIE LCH | lch(24.01, 17.08, 194.35) | |
| CIE XYZ | xyz(2.882, 4.103, 5.342) | |
| Decimal | 802879 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C403F, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #0C403F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.53:1 | Pass | Pass | Pass |
| #0C403F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.53:1 | Pass | Pass | Pass |
| Sample text | 1.82:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #0C403F looks to people with the most common types of color vision deficiency.
#3b3c3fProtanopia
no red cones#34373fDeuteranopia
no green cones#004240Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #0c403f; }
.text { color: #0c403f; }
.border { border: 2px solid #0c403f; }
.transparent { background-color: rgb(12 64 63 / 50%); }
.gradient { background: linear-gradient(to right, #0c403f, #0c2740); }
Similar colors
#12403cBotanical Night#014d4eDark Teal#024a43Tropical Forest#224347Emerald Forest#133337Elite Teal#27454aMysterious Waters#2f4f4fDark Slate Gray#1c3d44Sunken Harbour
Questions
- What color is #0C403F?
- #0C403F is a very dark, moderate cyan, closest to the named color Botanical Night. It belongs to the teal family of colors.
- What is the RGB value of #0C403F?
- The RGB value is 12, 64, 63: 12 red, 64 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #0C403F?
- The complementary color is #400C0D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C403F?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.53:1. WCAG asks for at least 4.5:1 for normal text.