Recognised as Colour
#18123E
- #18123E
- Blue
- Dark
- Nearest: Midnight blue
#18123E is a blue with RGB values 24, 18, 62 and HSL 248°, 55%, 16%. It is a dark colour, so white text on it reaches 17.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#18123E#18123E
HEX#18123E
RGBrgb(24, 18, 62)
RGB (0–1)0.0941, 0.0706, 0.2431
RGB percentages9.4%, 7.1%, 24.3%
HSLhsl(248.2, 55%, 15.7%)
HSV / HSBhsv(248.2, 71%, 24.3%)
CMYK61.3%, 71%, 0%, 75.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,577,534
CSS custom property--colour: #18123E;
Brightness & contrast
Relative luminance0.00975WCAG 2.x, 0 is black and 1 is white
Perceived brightness28.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.57:1
Contrast with white17.57:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#E7EDC1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.57:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#383E12
Analogous#12223E, #2E123E
Triadic#3E1812, #123E18
Split complementary#3E2E12, #223E12
Tetradic#3E1222, #383E12, #123E2E
Tints, shades & saturation
Channel breakdown
R24
G18
B62
Red24 (9.4%)
Green18 (7.1%)
Blue62 (24.3%)
Hue248.18°
Saturation (HSL)55%
Lightness15.69%
Dominant channelBlue
Hex per channelR 18 · G 12 · B 3E
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