Recognised as Colour
#12226C
- #12226C
- Blue
- Dark
- Nearest: Midnight blue
#12226C is a blue with RGB values 18, 34, 108 and HSL 229°, 71%, 25%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12226C#12226C
HEX#12226C
RGBrgb(18, 34, 108)
RGB (0–1)0.0706, 0.1333, 0.4235
RGB percentages7.1%, 13.3%, 42.4%
HSLhsl(229.3, 71.4%, 24.7%)
HSV / HSBhsv(229.3, 83.3%, 42.4%)
CMYK83.3%, 68.5%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,188,460
CSS custom property--colour: #12226C;
Brightness & contrast
Relative luminance0.02355WCAG 2.x, 0 is black and 1 is white
Perceived brightness45.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.28:1
Contrast with white14.28:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#EDDD93
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.28:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6C5C12
Analogous#124F6C, #2F126C
Triadic#6C1222, #226C12
Split complementary#6C2F12, #4F6C12
Tetradic#6C124F, #6C5C12, #126C2F
Tints, shades & saturation
Channel breakdown
R18
G34
B108
Red18 (7.1%)
Green34 (13.3%)
Blue108 (42.4%)
Hue229.33°
Saturation (HSL)71.43%
Lightness24.71%
Dominant channelBlue
Hex per channelR 12 · G 22 · B 6C
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