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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page