Recognised as Colour
#0C3879
- #0C3879
- Blue
- Dark
- Nearest: Dark slateblue
#0C3879 is a blue with RGB values 12, 56, 121 and HSL 216°, 82%, 26%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#0C3879#0C3879
HEX#0C3879
RGBrgb(12, 56, 121)
RGB (0–1)0.0471, 0.2196, 0.4745
RGB percentages4.7%, 22%, 47.5%
HSLhsl(215.8, 82%, 26.1%)
HSV / HSBhsv(215.8, 90.1%, 47.5%)
CMYK90.1%, 53.7%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer800,889
CSS custom property--colour: #0C3879;
Brightness & contrast
Relative luminance0.04287WCAG 2.x, 0 is black and 1 is white
Perceived brightness59.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.31:1
Contrast with white11.31:1WCAG normal text: AAA
Contrast with black1.86:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#F3C786
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.31:1WCAG large text: AAA
Contrast with black, large text1.86:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#794D0C
Analogous#0C6E79, #170C79
Triadic#790C38, #38790C
Split complementary#79170C, #6E790C
Tetradic#790C6E, #794D0C, #0C7917
Tints, shades & saturation
Channel breakdown
R12
G56
B121
Red12 (4.7%)
Green56 (22%)
Blue121 (47.5%)
Hue215.78°
Saturation (HSL)81.95%
Lightness26.08%
Dominant channelBlue
Hex per channelR 0C · G 38 · B 79
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