Recognised as Colour
#0C4E97
- #0C4E97
- Blue
- Dark
- Nearest: Dark slateblue
#0C4E97 is a blue with RGB values 12, 78, 151 and HSL 212°, 85%, 32%. It is a dark colour, so white text on it reaches 8.2:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#0C4E97#0C4E97
HEX#0C4E97
RGBrgb(12, 78, 151)
RGB (0–1)0.0471, 0.3059, 0.5922
RGB percentages4.7%, 30.6%, 59.2%
HSLhsl(211.5, 85.3%, 32%)
HSV / HSBhsv(211.5, 92.1%, 59.2%)
CMYK92.1%, 48.3%, 0%, 40.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer806,551
CSS custom property--colour: #0C4E97;
Brightness & contrast
Relative luminance0.07761WCAG 2.x, 0 is black and 1 is white
Perceived brightness78.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.23:1
Contrast with white8.23:1WCAG normal text: AAA
Contrast with black2.55:1WCAG normal text: Fail
Greyscale equivalent#454545
Inverted#F3B168
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.23:1WCAG large text: AAA
Contrast with black, large text2.55:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#97550C
Analogous#0C9497, #0F0C97
Triadic#970C4E, #4E970C
Split complementary#970F0C, #94970C
Tetradic#970C94, #97550C, #0C970F
Tints, shades & saturation
Channel breakdown
R12
G78
B151
Red12 (4.7%)
Green78 (30.6%)
Blue151 (59.2%)
Hue211.51°
Saturation (HSL)85.28%
Lightness31.96%
Dominant channelBlue
Hex per channelR 0C · G 4E · B 97
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