Recognised as Colour
#312D80
- #312D80
- Blue
- Dark
- Nearest: Dark slateblue
#312D80 is a blue with RGB values 49, 45, 128 and HSL 243°, 48%, 34%. It is a dark colour, so white text on it reaches 11.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#312D80#312D80
HEX#312D80
RGBrgb(49, 45, 128)
RGB (0–1)0.1922, 0.1765, 0.502
RGB percentages19.2%, 17.6%, 50.2%
HSLhsl(242.9, 48%, 33.9%)
HSV / HSBhsv(242.9, 64.8%, 50.2%)
CMYK61.7%, 64.8%, 0%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,222,912
CSS custom property--colour: #312D80;
Brightness & contrast
Relative luminance0.04088WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.55:1
Contrast with white11.55:1WCAG normal text: AAA
Contrast with black1.82:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#CED27F
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.55:1WCAG large text: AAA
Contrast with black, large text1.82:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C802D
Analogous#2D5380, #5A2D80
Triadic#80312D, #2D8031
Split complementary#805A2D, #53802D
Tetradic#802D53, #7C802D, #2D805A
Tints, shades & saturation
Channel breakdown
R49
G45
B128
Red49 (19.2%)
Green45 (17.6%)
Blue128 (50.2%)
Hue242.89°
Saturation (HSL)47.98%
Lightness33.92%
Dominant channelBlue
Hex per channelR 31 · G 2D · B 80
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