Recognised as Colour
#0C2073
- #0C2073
- Blue
- Dark
- Nearest: Midnight blue
#0C2073 is a blue with RGB values 12, 32, 115 and HSL 228°, 81%, 25%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C2073#0C2073
HEX#0C2073
RGBrgb(12, 32, 115)
RGB (0–1)0.0471, 0.1255, 0.451
RGB percentages4.7%, 12.5%, 45.1%
HSLhsl(228.3, 81.1%, 24.9%)
HSV / HSBhsv(228.3, 89.6%, 45.1%)
CMYK89.6%, 72.2%, 0%, 54.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer794,739
CSS custom property--colour: #0C2073;
Brightness & contrast
Relative luminance0.02349WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.29:1
Contrast with white14.29:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#F3DF8C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.29:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#735F0C
Analogous#0C5373, #2C0C73
Triadic#730C20, #20730C
Split complementary#732C0C, #53730C
Tetradic#730C53, #735F0C, #0C732C
Tints, shades & saturation
Channel breakdown
R12
G32
B115
Red12 (4.7%)
Green32 (12.5%)
Blue115 (45.1%)
Hue228.35°
Saturation (HSL)81.1%
Lightness24.9%
Dominant channelBlue
Hex per channelR 0C · G 20 · B 73
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