Recognised as Colour
#331D8F
- #331D8F
- Blue
- Dark
- Nearest: Indigo
#331D8F is a blue with RGB values 51, 29, 143 and HSL 252°, 66%, 34%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#331D8F#331D8F
HEX#331D8F
RGBrgb(51, 29, 143)
RGB (0–1)0.2, 0.1137, 0.5608
RGB percentages20%, 11.4%, 56.1%
HSLhsl(251.6, 66.3%, 33.7%)
HSV / HSBhsv(251.6, 79.7%, 56.1%)
CMYK64.3%, 79.7%, 0%, 43.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,349,903
CSS custom property--colour: #331D8F;
Brightness & contrast
Relative luminance0.03566WCAG 2.x, 0 is black and 1 is white
Perceived brightness60 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.26:1
Contrast with white12.26:1WCAG normal text: AAA
Contrast with black1.71:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#CCE270
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.26:1WCAG large text: AAA
Contrast with black, large text1.71:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#798F1D
Analogous#1D408F, #6C1D8F
Triadic#8F331D, #1D8F33
Split complementary#8F6C1D, #408F1D
Tetradic#8F1D40, #798F1D, #1D8F6C
Tints, shades & saturation
Channel breakdown
R51
G29
B143
Red51 (20%)
Green29 (11.4%)
Blue143 (56.1%)
Hue251.58°
Saturation (HSL)66.28%
Lightness33.73%
Dominant channelBlue
Hex per channelR 33 · G 1D · B 8F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page