Recognised as Colour
#12246D
- #12246D
- Blue
- Dark
- Nearest: Midnight blue
#12246D is a blue with RGB values 18, 36, 109 and HSL 228°, 72%, 25%. It is a dark colour, so white text on it reaches 14:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#12246D#12246D
HEX#12246D
RGBrgb(18, 36, 109)
RGB (0–1)0.0706, 0.1412, 0.4275
RGB percentages7.1%, 14.1%, 42.7%
HSLhsl(228.1, 71.7%, 24.9%)
HSV / HSBhsv(228.1, 83.5%, 42.7%)
CMYK83.5%, 67%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,188,973
CSS custom property--colour: #12246D;
Brightness & contrast
Relative luminance0.02494WCAG 2.x, 0 is black and 1 is white
Perceived brightness47 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.01:1
Contrast with white14.01:1WCAG normal text: AAA
Contrast with black1.5:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#EDDB92
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.01:1WCAG large text: AAA
Contrast with black, large text1.5:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6D5B12
Analogous#12516D, #2D126D
Triadic#6D1224, #246D12
Split complementary#6D2E12, #516D12
Tetradic#6D1252, #6D5B12, #126D2E
Tints, shades & saturation
Channel breakdown
R18
G36
B109
Red18 (7.1%)
Green36 (14.1%)
Blue109 (42.7%)
Hue228.13°
Saturation (HSL)71.65%
Lightness24.9%
Dominant channelBlue
Hex per channelR 12 · G 24 · B 6D
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