Recognised as Colour
#0C0E54
- #0C0E54
- Blue
- Dark
- Nearest: Midnight blue
#0C0E54 is a blue with RGB values 12, 14, 84 and HSL 238°, 75%, 19%. It is a dark colour, so white text on it reaches 17.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C0E54#0C0E54
HEX#0C0E54
RGBrgb(12, 14, 84)
RGB (0–1)0.0471, 0.0549, 0.3294
RGB percentages4.7%, 5.5%, 32.9%
HSLhsl(238.3, 75%, 18.8%)
HSV / HSBhsv(238.3, 85.7%, 32.9%)
CMYK85.7%, 83.3%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer790,100
CSS custom property--colour: #0C0E54;
Brightness & contrast
Relative luminance0.01032WCAG 2.x, 0 is black and 1 is white
Perceived brightness31 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.41:1
Contrast with white17.41:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#F3F1AB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.41:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#54520C
Analogous#0C3254, #2E0C54
Triadic#540C0E, #0E540C
Split complementary#542E0C, #32540C
Tetradic#540C32, #54520C, #0C542E
Tints, shades & saturation
Channel breakdown
R12
G14
B84
Red12 (4.7%)
Green14 (5.5%)
Blue84 (32.9%)
Hue238.33°
Saturation (HSL)75%
Lightness18.82%
Dominant channelBlue
Hex per channelR 0C · G 0E · B 54
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