Recognised as Colour
#0C168E
- #0C168E
- Blue
- Dark
- Nearest: Navy
#0C168E is a blue with RGB values 12, 22, 142 and HSL 235°, 84%, 30%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#0C168E#0C168E
HEX#0C168E
RGBrgb(12, 22, 142)
RGB (0–1)0.0471, 0.0863, 0.5569
RGB percentages4.7%, 8.6%, 55.7%
HSLhsl(235.4, 84.4%, 30.2%)
HSV / HSBhsv(235.4, 91.5%, 55.7%)
CMYK91.5%, 84.5%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer792,206
CSS custom property--colour: #0C168E;
Brightness & contrast
Relative luminance0.02605WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.81:1
Contrast with white13.81:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#F3E971
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.81:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8E840C
Analogous#0C578E, #430C8E
Triadic#8E0C16, #168E0C
Split complementary#8E430C, #578E0C
Tetradic#8E0C57, #8E840C, #0C8E43
Tints, shades & saturation
Channel breakdown
R12
G22
B142
Red12 (4.7%)
Green22 (8.6%)
Blue142 (55.7%)
Hue235.38°
Saturation (HSL)84.42%
Lightness30.2%
Dominant channelBlue
Hex per channelR 0C · G 16 · B 8E
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