Recognised as Colour
#0C1564
- #0C1564
- Blue
- Dark
- Nearest: Midnight blue
#0C1564 is a blue with RGB values 12, 21, 100 and HSL 234°, 79%, 22%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C1564#0C1564
HEX#0C1564
RGBrgb(12, 21, 100)
RGB (0–1)0.0471, 0.0824, 0.3922
RGB percentages4.7%, 8.2%, 39.2%
HSLhsl(233.9, 78.6%, 22%)
HSV / HSBhsv(233.9, 88%, 39.2%)
CMYK88%, 79%, 0%, 60.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer791,908
CSS custom property--colour: #0C1564;
Brightness & contrast
Relative luminance0.01535WCAG 2.x, 0 is black and 1 is white
Perceived brightness38 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.07:1
Contrast with white16.07:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#F3EA9B
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.07:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#645B0C
Analogous#0C4164, #2F0C64
Triadic#640C15, #15640C
Split complementary#642F0C, #41640C
Tetradic#640C41, #645B0C, #0C642F
Tints, shades & saturation
Channel breakdown
R12
G21
B100
Red12 (4.7%)
Green21 (8.2%)
Blue100 (39.2%)
Hue233.86°
Saturation (HSL)78.57%
Lightness21.96%
Dominant channelBlue
Hex per channelR 0C · G 15 · B 64
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