Recognised as Colour
#331F70
- #331F70
- Blue
- Dark
- Nearest: Midnight blue
#331F70 is a blue with RGB values 51, 31, 112 and HSL 255°, 57%, 28%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#331F70#331F70
HEX#331F70
RGBrgb(51, 31, 112)
RGB (0–1)0.2, 0.1216, 0.4392
RGB percentages20%, 12.2%, 43.9%
HSLhsl(254.8, 56.6%, 28%)
HSV / HSBhsv(254.8, 72.3%, 43.9%)
CMYK54.5%, 72.3%, 0%, 56.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,350,384
CSS custom property--colour: #331F70;
Brightness & contrast
Relative luminance0.02854WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.37:1
Contrast with white13.37:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#CCE08F
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.37:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5C701F
Analogous#1F3470, #5B1F70
Triadic#70331F, #1F7033
Split complementary#705C1F, #33701F
Tetradic#701F34, #5C701F, #1F705B
Tints, shades & saturation
Channel breakdown
R51
G31
B112
Red51 (20%)
Green31 (12.2%)
Blue112 (43.9%)
Hue254.81°
Saturation (HSL)56.64%
Lightness28.04%
Dominant channelBlue
Hex per channelR 33 · G 1F · B 70
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