Recognised as Colour
#0C1068
- #0C1068
- Blue
- Dark
- Nearest: Midnight blue
#0C1068 is a blue with RGB values 12, 16, 104 and HSL 237°, 79%, 23%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C1068#0C1068
HEX#0C1068
RGBrgb(12, 16, 104)
RGB (0–1)0.0471, 0.0627, 0.4078
RGB percentages4.7%, 6.3%, 40.8%
HSLhsl(237.4, 79.3%, 22.7%)
HSV / HSBhsv(237.4, 88.5%, 40.8%)
CMYK88.5%, 84.6%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer790,632
CSS custom property--colour: #0C1068;
Brightness & contrast
Relative luminance0.01448WCAG 2.x, 0 is black and 1 is white
Perceived brightness37.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.28:1
Contrast with white16.28:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#F3EF97
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.28:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#68640C
Analogous#0C3E68, #360C68
Triadic#680C10, #10680C
Split complementary#68360C, #3E680C
Tetradic#680C3E, #68640C, #0C6836
Tints, shades & saturation
Channel breakdown
R12
G16
B104
Red12 (4.7%)
Green16 (6.3%)
Blue104 (40.8%)
Hue237.39°
Saturation (HSL)79.31%
Lightness22.75%
Dominant channelBlue
Hex per channelR 0C · G 10 · B 68
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page