Nerdulator> put something in

Recognised as Colour

#2F1978

  • #2F1978
  • Blue
  • Dark
  • Nearest: Midnight blue

#2F1978 is a blue with RGB values 47, 25, 120 and HSL 254°, 66%, 28%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2F1978#2F1978
HEX#2F1978
RGBrgb(47, 25, 120)
RGB (0–1)0.1843, 0.098, 0.4706
RGB percentages18.4%, 9.8%, 47.1%
HSLhsl(253.9, 65.5%, 28.4%)
HSV / HSBhsv(253.9, 79.2%, 47.1%)
CMYK60.8%, 79.2%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,086,712
CSS custom property--colour: #2F1978;

Brightness & contrast

Relative luminance0.02656WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.72:1
Contrast with white13.72:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#D0E687

Colour vision & accessibility

Protanopia#00307Bno red cones; affects about 1% of men; ΔE 19.3 from the original
Deuteranopia#002A76no green cones; the most common form, about 1% of men; ΔE 16.8 from the original
Tritanopia#043448no blue cones; rare, and affects men and women equally; ΔE 55.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.72:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#627819
Analogous#193378, #5E1978
Triadic#782F19, #19782F
Split complementary#785E19, #327819
Tetradic#781933, #627819, #19785E

Tints, shades & saturation

Lighter +40%#927AE3
Lighter +30%#7050DA
Lighter +20%#502BCC
Lighter +10%#4022A2
Darker −10%#1E104E
Darker −20%#0E0724
Darker −30%#000000
Darker −40%#000000
More saturated +25%#25078A
Less saturated −25%#392B66

Channel breakdown

R47
G25
B120
Red47 (18.4%)
Green25 (9.8%)
Blue120 (47.1%)
Hue253.89°
Saturation (HSL)65.52%
Lightness28.43%
Dominant channelBlue
Hex per channelR 2F · G 19 · 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 “2f1978” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.