Recognised as Colour
#31407D
- #31407D
- Blue
- Dark
- Nearest: Dark slateblue
#31407D is a blue with RGB values 49, 64, 125 and HSL 228°, 44%, 34%. It is a dark colour, so white text on it reaches 9.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#31407D#31407D
HEX#31407D
RGBrgb(49, 64, 125)
RGB (0–1)0.1922, 0.251, 0.4902
RGB percentages19.2%, 25.1%, 49%
HSLhsl(228.2, 43.7%, 34.1%)
HSV / HSBhsv(228.2, 60.8%, 49%)
CMYK60.8%, 48.8%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,227,773
CSS custom property--colour: #31407D;
Brightness & contrast
Relative luminance0.058WCAG 2.x, 0 is black and 1 is white
Perceived brightness70 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.72:1
Contrast with white9.72:1WCAG normal text: AAA
Contrast with black2.16:1WCAG normal text: Fail
Greyscale equivalent#414141
Inverted#CEBF82
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text9.72:1WCAG large text: AAA
Contrast with black, large text2.16:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7D6E31
Analogous#31667D, #48317D
Triadic#7D3140, #407D31
Split complementary#7D4831, #667D31
Tetradic#7D3166, #7D6E31, #317D48
Tints, shades & saturation
Channel breakdown
R49
G64
B125
Red49 (19.2%)
Green64 (25.1%)
Blue125 (49%)
Hue228.16°
Saturation (HSL)43.68%
Lightness34.12%
Dominant channelBlue
Hex per channelR 31 · G 40 · B 7D
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