#0C2123 color
The hex color #0C2123 is a very dark, desaturated cyan.
In the RGB color model it is made of 4.7% red, 12.9% green and 13.7% blue (12, 33, 35).
Its hue angle is 185°, with 49% saturation and 9% lightness. For print, the CMYK equivalent is 66% cyan, 6% magenta, 0% yellow and 86% black.
The closest named color is Sunken Ship (#10252A), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.7:1).
#0C2123 color codes
| HEX | #0C2123 | |
|---|---|---|
| RGB | rgb(12, 33, 35) | |
| RGB percent | rgb(4.7%, 12.9%, 13.7%) | |
| HSL | hsl(185, 49%, 9%) | |
| HSV / HSB | hsv(185, 66%, 14%) | |
| CMYK | cmyk(66%, 6%, 0%, 86%) | |
| CIE LAB | lab(11.19, -7.66, -3.94) | |
| CIE LCH | lch(11.19, 8.62, 207.22) | |
| CIE XYZ | xyz(0.999, 1.287, 1.786) | |
| Decimal | 794915 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2123, 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 #0C2123 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.26:1 | Fail | Fail | Fail |
| Sample text | 16.7:1 | Pass | Pass | Pass |
| #0C2123 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.7:1 | Pass | Pass | Pass |
| Sample text | 1.26: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 #0C2123 looks to people with the most common types of color vision deficiency.
#1e1f23Protanopia
no red cones#1a1d23Deuteranopia
no green cones#012222Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c2123; }
.text { color: #0c2123; }
.border { border: 2px solid #0c2123; }
.transparent { background-color: rgb(12 33 35 / 50%); }
.gradient { background: linear-gradient(to right, #0c2123, #0c1623); }
Similar colors
#10252aSunken Ship#0f282fBlack Box#162825Swamp Thing#0e191cBlack Stallion#133337Elite Teal#1e272cBlack Pearl#172b36Oceanic Noir#293432Aztec
Closest common color name: Gunmetal.
Questions
- What color is #0C2123?
- #0C2123 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 #0C2123?
- The RGB value is 12, 33, 35: 12 red, 33 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #0C2123?
- The complementary color is #230E0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2123?
- White text. Black text has a contrast ratio of 1.26:1 and white text 16.7:1. WCAG asks for at least 4.5:1 for normal text.