Recognised as Colour
#31487E
- #31487E
- Blue
- Dark
- Nearest: Dark slateblue
#31487E is a blue with RGB values 49, 72, 126 and HSL 222°, 44%, 34%. It is a dark colour, so white text on it reaches 8.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#31487E#31487E
HEX#31487E
RGBrgb(49, 72, 126)
RGB (0–1)0.1922, 0.2824, 0.4941
RGB percentages19.2%, 28.2%, 49.4%
HSLhsl(222.1, 44%, 34.3%)
HSV / HSBhsv(222.1, 61.1%, 49.4%)
CMYK61.1%, 42.9%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,229,822
CSS custom property--colour: #31487E;
Brightness & contrast
Relative luminance0.06794WCAG 2.x, 0 is black and 1 is white
Perceived brightness74.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.9:1
Contrast with white8.9:1WCAG normal text: AAA
Contrast with black2.36:1WCAG normal text: Fail
Greyscale equivalent#474747
Inverted#CEB781
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.9:1WCAG large text: AAA
Contrast with black, large text2.36:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7E6731
Analogous#316F7E, #40317E
Triadic#7E3148, #487E31
Split complementary#7E4031, #6F7E31
Tetradic#7E316F, #7E6731, #317E40
Tints, shades & saturation
Channel breakdown
R49
G72
B126
Red49 (19.2%)
Green72 (28.2%)
Blue126 (49.4%)
Hue222.08°
Saturation (HSL)44%
Lightness34.31%
Dominant channelBlue
Hex per channelR 31 · G 48 · B 7E
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