Recognised as Colour
#0C2147
- #0C2147
- Blue
- Dark
- Nearest: Dark slateblue
#0C2147 is a blue with RGB values 12, 33, 71 and HSL 219°, 71%, 16%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#0C2147#0C2147
HEX#0C2147
RGBrgb(12, 33, 71)
RGB (0–1)0.0471, 0.1294, 0.2784
RGB percentages4.7%, 12.9%, 27.8%
HSLhsl(218.6, 71.1%, 16.3%)
HSV / HSBhsv(218.6, 83.1%, 27.8%)
CMYK83.1%, 53.5%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer794,951
CSS custom property--colour: #0C2147;
Brightness & contrast
Relative luminance0.01621WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.86:1
Contrast with white15.86:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#F3DEB8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.86:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#47320C
Analogous#0C3E47, #150C47
Triadic#470C21, #21470C
Split complementary#47140C, #3F470C
Tetradic#470C3E, #47320C, #0C4714
Tints, shades & saturation
Channel breakdown
R12
G33
B71
Red12 (4.7%)
Green33 (12.9%)
Blue71 (27.8%)
Hue218.64°
Saturation (HSL)71.08%
Lightness16.27%
Dominant channelBlue
Hex per channelR 0C · G 21 · B 47
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