Recognised as Colour
#0C2181
- #0C2181
- Blue
- Dark
- Nearest: Midnight blue
#0C2181 is a blue with RGB values 12, 33, 129 and HSL 229°, 83%, 28%. It is a dark colour, so white text on it reaches 13.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#0C2181#0C2181
HEX#0C2181
RGBrgb(12, 33, 129)
RGB (0–1)0.0471, 0.1294, 0.5059
RGB percentages4.7%, 12.9%, 50.6%
HSLhsl(229.2, 83%, 27.6%)
HSV / HSBhsv(229.2, 90.7%, 50.6%)
CMYK90.7%, 74.4%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer795,009
CSS custom property--colour: #0C2181;
Brightness & contrast
Relative luminance0.02751WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.55:1
Contrast with white13.55:1WCAG normal text: AAA
Contrast with black1.55:1WCAG normal text: Fail
Greyscale equivalent#232323
Inverted#F3DE7E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.55:1WCAG large text: AAA
Contrast with black, large text1.55:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#816C0C
Analogous#0C5B81, #320C81
Triadic#810C21, #21810C
Split complementary#81320C, #5C810C
Tetradic#810C5B, #816C0C, #0C8131
Tints, shades & saturation
Channel breakdown
R12
G33
B129
Red12 (4.7%)
Green33 (12.9%)
Blue129 (50.6%)
Hue229.23°
Saturation (HSL)82.98%
Lightness27.65%
Dominant channelBlue
Hex per channelR 0C · G 21 · B 81
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