Nerdulator> put something in

Recognised as Colour

#40408E

  • #40408E
  • Blue
  • Dark
  • Nearest: Dark slateblue

#40408E is a blue with RGB values 64, 64, 142 and HSL 240°, 38%, 40%. It is a dark colour, so white text on it reaches 9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#40408E#40408E
HEX#40408E
RGBrgb(64, 64, 142)
RGB (0–1)0.251, 0.251, 0.5569
RGB percentages25.1%, 25.1%, 55.7%
HSLhsl(240, 37.9%, 40.4%)
HSV / HSBhsv(240, 54.9%, 55.7%)
CMYK54.9%, 54.9%, 0%, 44.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,210,830
CSS custom property--colour: #40408E;

Brightness & contrast

Relative luminance0.0671WCAG 2.x, 0 is black and 1 is white
Perceived brightness77 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.97:1
Contrast with white8.97:1WCAG normal text: AAA
Contrast with black2.34:1WCAG normal text: Fail
Greyscale equivalent#464646
Inverted#BFBF71

Colour vision & accessibility

Protanopia#134C91no red cones; affects about 1% of men; ΔE 14 from the original
Deuteranopia#04468Cno green cones; the most common form, about 1% of men; ΔE 13 from the original
Tritanopia#1D5260no blue cones; rare, and affects men and women equally; ΔE 46.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text8.97:1WCAG large text: AAA
Contrast with black, large text2.34:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 3.12, a close match
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#8E8E40
Analogous#40678E, #67408E
Triadic#8E4040, #408E40
Split complementary#8E6740, #678E40
Tetradic#8E4067, #8E8E40, #408E67

Tints, shades & saturation

Lighter +40%#BABAE0
Lighter +30%#9797D0
Lighter +20%#7474C0
Lighter +10%#5151B0
Darker −10%#30306B
Darker −20%#202048
Darker −30%#101025
Darker −40%#010101
More saturated +25%#2626A8
Less saturated −25%#5A5A74

Channel breakdown

R64
G64
B142
Red64 (25.1%)
Green64 (25.1%)
Blue142 (55.7%)
Hue240°
Saturation (HSL)37.86%
Lightness40.39%
Dominant channelBlue
Hex per channelR 40 · G 40 · B 8E

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