Recognised as Colour
#0C0870
- #0C0870
- Blue
- Dark
- Nearest: Midnight blue
#0C0870 is a blue with RGB values 12, 8, 112 and HSL 242°, 87%, 24%. It is a dark colour, so white text on it reaches 16.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C0870#0C0870
HEX#0C0870
RGBrgb(12, 8, 112)
RGB (0–1)0.0471, 0.0314, 0.4392
RGB percentages4.7%, 3.1%, 43.9%
HSLhsl(242.3, 86.7%, 23.5%)
HSV / HSBhsv(242.3, 92.9%, 43.9%)
CMYK89.3%, 92.9%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer788,592
CSS custom property--colour: #0C0870;
Brightness & contrast
Relative luminance0.01422WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.35:1
Contrast with white16.35:1WCAG normal text: AAA
Contrast with black1.28:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#F3F78F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.35:1WCAG large text: AAA
Contrast with black, large text1.28:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6C7008
Analogous#083870, #400870
Triadic#700C08, #08700C
Split complementary#704008, #387008
Tetradic#700838, #6C7008, #087040
Tints, shades & saturation
Channel breakdown
R12
G8
B112
Red12 (4.7%)
Green8 (3.1%)
Blue112 (43.9%)
Hue242.31°
Saturation (HSL)86.67%
Lightness23.53%
Dominant channelBlue
Hex per channelR 0C · G 08 · B 70
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