Recognised as Colour
#18248A
- #18248A
- Blue
- Dark
- Nearest: Midnight blue
#18248A is a blue with RGB values 24, 36, 138 and HSL 234°, 70%, 32%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#18248A#18248A
HEX#18248A
RGBrgb(24, 36, 138)
RGB (0–1)0.0941, 0.1412, 0.5412
RGB percentages9.4%, 14.1%, 54.1%
HSLhsl(233.7, 70.4%, 31.8%)
HSV / HSBhsv(233.7, 82.6%, 54.1%)
CMYK82.6%, 73.9%, 0%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,582,218
CSS custom property--colour: #18248A;
Brightness & contrast
Relative luminance0.03291WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.66:1
Contrast with white12.66:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#E7DB75
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.66:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8A7E18
Analogous#185D8A, #45188A
Triadic#8A1824, #248A18
Split complementary#8A4518, #5D8A18
Tetradic#8A185D, #8A7E18, #188A45
Tints, shades & saturation
Channel breakdown
R24
G36
B138
Red24 (9.4%)
Green36 (14.1%)
Blue138 (54.1%)
Hue233.68°
Saturation (HSL)70.37%
Lightness31.76%
Dominant channelBlue
Hex per channelR 18 · G 24 · B 8A
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