Recognised as Colour
#181B74
- #181B74
- Blue
- Dark
- Nearest: Midnight blue
#181B74 is a blue with RGB values 24, 27, 116 and HSL 238°, 66%, 27%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#181B74#181B74
HEX#181B74
RGBrgb(24, 27, 116)
RGB (0–1)0.0941, 0.1059, 0.4549
RGB percentages9.4%, 10.6%, 45.5%
HSLhsl(238, 65.7%, 27.5%)
HSV / HSBhsv(238, 79.3%, 45.5%)
CMYK79.3%, 76.7%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer1,579,892
CSS custom property--colour: #181B74;
Brightness & contrast
Relative luminance0.02239WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.5:1
Contrast with white14.5:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#E7E48B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.5:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#747118
Analogous#184974, #431874
Triadic#74181B, #1B7418
Split complementary#744318, #497418
Tetradic#741849, #747118, #187443
Tints, shades & saturation
Channel breakdown
R24
G27
B116
Red24 (9.4%)
Green27 (10.6%)
Blue116 (45.5%)
Hue238.04°
Saturation (HSL)65.71%
Lightness27.45%
Dominant channelBlue
Hex per channelR 18 · G 1B · B 74
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