Recognised as Colour
#0C2827
- #0C2827
- Cyan
- Dark
- Nearest: Dark slate grey
#0C2827 is a cyan with RGB values 12, 40, 39 and HSL 178°, 54%, 10%. It is a dark colour, so white text on it reaches 15.6:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.
Colour values
#0C2827#0C2827
HEX#0C2827
RGBrgb(12, 40, 39)
RGB (0–1)0.0471, 0.1569, 0.1529
RGB percentages4.7%, 15.7%, 15.3%
HSLhsl(177.9, 53.8%, 10.2%)
HSV / HSBhsv(177.9, 70%, 15.7%)
CMYK70%, 0%, 2.5%, 84.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer796,711
CSS custom property--colour: #0C2827;
Brightness & contrast
Relative luminance0.01742WCAG 2.x, 0 is black and 1 is white
Perceived brightness34 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.57:1
Contrast with white15.57:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#F3D7D8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.57:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail
Named colours
Hue familycyan
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#280C0D
Analogous#0C2819, #0C1B28
Triadic#270C28, #28270C
Split complementary#280C1B, #28190C
Tetradic#190C28, #280C0D, #1B280C
Tints, shades & saturation
Channel breakdown
R12
G40
B39
Red12 (4.7%)
Green40 (15.7%)
Blue39 (15.3%)
Hue177.86°
Saturation (HSL)53.85%
Lightness10.2%
Dominant channelGreen
Hex per channelR 0C · G 28 · B 27
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page