Recognised as Colour
#331D80
- #331D80
- Blue
- Dark
- Nearest: Midnight blue
#331D80 is a blue with RGB values 51, 29, 128 and HSL 253°, 63%, 31%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#331D80#331D80
HEX#331D80
RGBrgb(51, 29, 128)
RGB (0–1)0.2, 0.1137, 0.502
RGB percentages20%, 11.4%, 50.2%
HSLhsl(253.3, 63.1%, 30.8%)
HSV / HSBhsv(253.3, 77.3%, 50.2%)
CMYK60.2%, 77.3%, 0%, 49.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,349,888
CSS custom property--colour: #331D80;
Brightness & contrast
Relative luminance0.03141WCAG 2.x, 0 is black and 1 is white
Perceived brightness56 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.9:1
Contrast with white12.9:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#CCE27F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.9:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6A801D
Analogous#1D3880, #651D80
Triadic#80331D, #1D8033
Split complementary#80651D, #38801D
Tetradic#801D38, #6A801D, #1D8065
Tints, shades & saturation
Channel breakdown
R51
G29
B128
Red51 (20%)
Green29 (11.4%)
Blue128 (50.2%)
Hue253.33°
Saturation (HSL)63.06%
Lightness30.78%
Dominant channelBlue
Hex per channelR 33 · G 1D · 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