Nerdulator> put something in

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

Protanopia#003483no red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#002E7Eno green cones; the most common form, about 1% of men; ΔE 17.1 from the original
Tritanopia#07394Dno blue cones; rare, and affects men and women equally; ΔE 57.6 from the original
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

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

Lighter +40%#9A86E3
Lighter +30%#785CDA
Lighter +20%#5632D1
Lighter +10%#4426AA
Darker −10%#221456
Darker −20%#120A2D
Darker −30%#010103
Darker −40%#000000
More saturated +25%#280994
Less saturated −25%#3E316C

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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