Nerdulator> put something in

Recognised as Colour

#331F78

  • #331F78
  • Blue
  • Dark
  • Nearest: Midnight blue

#331F78 is a blue with RGB values 51, 31, 120 and HSL 253°, 59%, 30%. It is a dark colour, so white text on it reaches 13.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#331F78#331F78
HEX#331F78
RGBrgb(51, 31, 120)
RGB (0–1)0.2, 0.1216, 0.4706
RGB percentages20%, 12.2%, 47.1%
HSLhsl(253.5, 58.9%, 29.6%)
HSV / HSBhsv(253.5, 74.2%, 47.1%)
CMYK57.5%, 74.2%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,350,392
CSS custom property--colour: #331F78;

Brightness & contrast

Relative luminance0.0304WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.06:1
Contrast with white13.06:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#CCE087

Colour vision & accessibility

Protanopia#00337Bno red cones; affects about 1% of men; ΔE 18.5 from the original
Deuteranopia#002E76no green cones; the most common form, about 1% of men; ΔE 16.9 from the original
Tritanopia#143749no blue cones; rare, and affects men and women equally; ΔE 51.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.06:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 5.47, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#64781F
Analogous#1F3878, #5F1F78
Triadic#78331F, #1F7833
Split complementary#785F1F, #38781F
Tetradic#781F38, #64781F, #1F785F

Tints, shades & saturation

Lighter +40%#9884DF
Lighter +30%#775BD5
Lighter +20%#5534C9
Lighter +10%#4429A1
Darker −10%#22154F
Darker −20%#110A27
Darker −30%#000000
Darker −40%#000000
More saturated +25%#290C8B
Less saturated −25%#3D3265

Channel breakdown

R51
G31
B120
Red51 (20%)
Green31 (12.2%)
Blue120 (47.1%)
Hue253.48°
Saturation (HSL)58.94%
Lightness29.61%
Dominant channelBlue
Hex per channelR 33 · G 1F · B 78

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 “331f78” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.