Nerdulator> put something in

Recognised as Colour

#2E2878

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

#2E2878 is a blue with RGB values 46, 40, 120 and HSL 245°, 50%, 31%. It is a dark colour, so white text on it reaches 12.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2E2878#2E2878
HEX#2E2878
RGBrgb(46, 40, 120)
RGB (0–1)0.1804, 0.1569, 0.4706
RGB percentages18%, 15.7%, 47.1%
HSLhsl(244.5, 50%, 31.4%)
HSV / HSBhsv(244.5, 66.7%, 47.1%)
CMYK61.7%, 66.7%, 0%, 52.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,025,016
CSS custom property--colour: #2E2878;

Brightness & contrast

Relative luminance0.03454WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.42:1
Contrast with white12.42:1WCAG normal text: AAA
Contrast with black1.69:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#D1D787

Colour vision & accessibility

Protanopia#00377Bno red cones; affects about 1% of men; ΔE 14.9 from the original
Deuteranopia#003176no green cones; the most common form, about 1% of men; ΔE 12.5 from the original
Tritanopia#003C4Cno blue cones; rare, and affects men and women equally; ΔE 49.1 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.42:1WCAG large text: AAA
Contrast with black, large text1.69:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#727828
Analogous#284A78, #562878
Triadic#782E28, #28782E
Split complementary#785628, #4A7828
Tetradic#78284A, #727828, #287856

Tints, shades & saturation

Lighter +40%#9792DB
Lighter +30%#736BCE
Lighter +20%#4E45C1
Lighter +10%#3D359E
Darker −10%#1F1B52
Darker −20%#110E2B
Darker −30%#020205
Darker −40%#000000
More saturated +25%#1D148C
Less saturated −25%#3F3C64

Channel breakdown

R46
G40
B120
Red46 (18%)
Green40 (15.7%)
Blue120 (47.1%)
Hue244.5°
Saturation (HSL)50%
Lightness31.37%
Dominant channelBlue
Hex per channelR 2E · G 28 · 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 “2e2878” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.