#0C1E1F color
The hex color #0C1E1F is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 11.8% green and 12.2% blue (12, 30, 31).
Its hue angle is 183°, with 44% saturation and 8% lightness. For print, the CMYK equivalent is 61% cyan, 3% magenta, 0% yellow and 88% black.
The closest named color is Sunken Ship (#10252A), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.2:1).
#0C1E1F color codes
| HEX | #0C1E1F | |
|---|---|---|
| RGB | rgb(12, 30, 31) | |
| RGB percent | rgb(4.7%, 11.8%, 12.2%) | |
| HSL | hsl(183, 44%, 8%) | |
| HSV / HSB | hsv(183, 61%, 12%) | |
| CMYK | cmyk(61%, 3%, 0%, 88%) | |
| CIE LAB | lab(9.84, -7.07, -3) | |
| CIE LCH | lch(9.84, 7.68, 203.01) | |
| CIE XYZ | xyz(0.863, 1.106, 1.464) | |
| Decimal | 794143 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1E1F, 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 #0C1E1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.2:1 | Pass | Pass | Pass |
| #0C1E1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.2:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #0C1E1F looks to people with the most common types of color vision deficiency.
#1c1d1fProtanopia
no red cones#181a1fDeuteranopia
no green cones#041f1eTritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #0c1e1f; }
.text { color: #0c1e1f; }
.border { border: 2px solid #0c1e1f; }
.transparent { background-color: rgb(12 30 31 / 50%); }
.gradient { background: linear-gradient(to right, #0c1e1f, #0c151f); }
Similar colors
#10252aSunken Ship#162825Swamp Thing#0e191cBlack Stallion#0f282fBlack Box#041108Jedi Night#1e272cBlack Pearl#133337Elite Teal#020f03Blackn’t
Closest common color name: Rich Black.
Questions
- What color is #0C1E1F?
- #0C1E1F is a very dark, desaturated cyan, closest to the named color Sunken Ship. It belongs to the black family of colors.
- What is the RGB value of #0C1E1F?
- The RGB value is 12, 30, 31: 12 red, 30 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #0C1E1F?
- The complementary color is #1F0D0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1E1F?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.2:1. WCAG asks for at least 4.5:1 for normal text.