Nerdulator> put something in

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

Protanopia#003172no red cones; affects about 1% of men; ΔE 18.3 from the original
Deuteranopia#002D6Eno green cones; the most common form, about 1% of men; ΔE 17.1 from the original
Tritanopia#1C3445no blue cones; rare, and affects men and women equally; ΔE 46.4 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 6.98, clearly different but related
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

Lighter +40%#967FDC
Lighter +30%#7557D1
Lighter +20%#5735C0
Lighter +10%#452A98
Darker −10%#211448
Darker −20%#0F0920
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2A0D82
Less saturated −25%#3C315E

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “331f70” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.