Recognised as Colour
#18126A
- #18126A
- Blue
- Dark
- Nearest: Midnight blue
#18126A is a blue with RGB values 24, 18, 106 and HSL 244°, 71%, 24%. It is a dark colour, so white text on it reaches 15.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#18126A#18126A
HEX#18126A
RGBrgb(24, 18, 106)
RGB (0–1)0.0941, 0.0706, 0.4157
RGB percentages9.4%, 7.1%, 41.6%
HSLhsl(244.1, 71%, 24.3%)
HSV / HSBhsv(244.1, 83%, 41.6%)
CMYK77.4%, 83%, 0%, 58.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,577,578
CSS custom property--colour: #18126A;
Brightness & contrast
Relative luminance0.01667WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.75:1
Contrast with white15.75:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#E7ED95
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.75:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#646A12
Analogous#12386A, #44126A
Triadic#6A1812, #126A18
Split complementary#6A4412, #386A12
Tetradic#6A1238, #646A12, #126A44
Tints, shades & saturation
Channel breakdown
R24
G18
B106
Red24 (9.4%)
Green18 (7.1%)
Blue106 (41.6%)
Hue244.09°
Saturation (HSL)70.97%
Lightness24.31%
Dominant channelBlue
Hex per channelR 18 · G 12 · B 6A
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