Recognised as Colour
#0C2C83
- #0C2C83
- Blue
- Dark
- Nearest: Midnight blue
#0C2C83 is a blue with RGB values 12, 44, 131 and HSL 224°, 83%, 28%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C2C83#0C2C83
HEX#0C2C83
RGBrgb(12, 44, 131)
RGB (0–1)0.0471, 0.1725, 0.5137
RGB percentages4.7%, 17.3%, 51.4%
HSLhsl(223.9, 83.2%, 28%)
HSV / HSBhsv(223.9, 90.8%, 51.4%)
CMYK90.8%, 66.4%, 0%, 48.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer797,827
CSS custom property--colour: #0C2C83;
Brightness & contrast
Relative luminance0.03518WCAG 2.x, 0 is black and 1 is white
Perceived brightness56 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.33:1
Contrast with white12.33:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#F3D37C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.33:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#83630C
Analogous#0C6783, #280C83
Triadic#830C2C, #2C830C
Split complementary#83280C, #68830C
Tetradic#830C67, #83630C, #0C8328
Tints, shades & saturation
Channel breakdown
R12
G44
B131
Red12 (4.7%)
Green44 (17.3%)
Blue131 (51.4%)
Hue223.87°
Saturation (HSL)83.22%
Lightness28.04%
Dominant channelBlue
Hex per channelR 0C · G 2C · B 83
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