Recognised as Colour
#31388B
- #31388B
- Blue
- Dark
- Nearest: Dark slateblue
#31388B is a blue with RGB values 49, 56, 139 and HSL 235°, 48%, 37%. It is a dark colour, so white text on it reaches 10.1:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#31388B#31388B
HEX#31388B
RGBrgb(49, 56, 139)
RGB (0–1)0.1922, 0.2196, 0.5451
RGB percentages19.2%, 22%, 54.5%
HSLhsl(235.3, 47.9%, 36.9%)
HSV / HSBhsv(235.3, 64.7%, 54.5%)
CMYK64.7%, 59.7%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,225,739
CSS custom property--colour: #31388B;
Brightness & contrast
Relative luminance0.05345WCAG 2.x, 0 is black and 1 is white
Perceived brightness69 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.15:1
Contrast with white10.15:1WCAG normal text: AAA
Contrast with black2.07:1WCAG normal text: Fail
Greyscale equivalent#3D3D3D
Inverted#CEC774
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text10.15:1WCAG large text: AAA
Contrast with black, large text2.07:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8B8431
Analogous#31658B, #57318B
Triadic#8B3138, #388B31
Split complementary#8B5731, #658B31
Tetradic#8B3165, #8B8431, #318B57
Tints, shades & saturation
Channel breakdown
R49
G56
B139
Red49 (19.2%)
Green56 (22%)
Blue139 (54.5%)
Hue235.33°
Saturation (HSL)47.87%
Lightness36.86%
Dominant channelBlue
Hex per channelR 31 · G 38 · B 8B
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