Recognised as Colour
#0C2954
- #0C2954
- Blue
- Dark
- Nearest: Dark slateblue
#0C2954 is a blue with RGB values 12, 41, 84 and HSL 216°, 75%, 19%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#0C2954#0C2954
HEX#0C2954
RGBrgb(12, 41, 84)
RGB (0–1)0.0471, 0.1608, 0.3294
RGB percentages4.7%, 16.1%, 32.9%
HSLhsl(215.8, 75%, 18.8%)
HSV / HSBhsv(215.8, 85.7%, 32.9%)
CMYK85.7%, 51.2%, 0%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer797,012
CSS custom property--colour: #0C2954;
Brightness & contrast
Relative luminance0.02304WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.38:1
Contrast with white14.38:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#F3D6AB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.38:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#54370C
Analogous#0C4D54, #130C54
Triadic#540C29, #29540C
Split complementary#54130C, #4D540C
Tetradic#540C4D, #54370C, #0C5413
Tints, shades & saturation
Channel breakdown
R12
G41
B84
Red12 (4.7%)
Green41 (16.1%)
Blue84 (32.9%)
Hue215.83°
Saturation (HSL)75%
Lightness18.82%
Dominant channelBlue
Hex per channelR 0C · G 29 · 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