Recognised as Colour
#40337E
- #40337E
- Blue
- Dark
- Nearest: Dark slateblue
#40337E is a blue with RGB values 64, 51, 126 and HSL 250°, 42%, 35%. It is a dark colour, so white text on it reaches 10.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40337E#40337E
HEX#40337E
RGBrgb(64, 51, 126)
RGB (0–1)0.251, 0.2, 0.4941
RGB percentages25.1%, 20%, 49.4%
HSLhsl(250.4, 42.4%, 34.7%)
HSV / HSBhsv(250.4, 59.5%, 49.4%)
CMYK49.2%, 59.5%, 0%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,207,486
CSS custom property--colour: #40337E;
Brightness & contrast
Relative luminance0.04964WCAG 2.x, 0 is black and 1 is white
Perceived brightness67.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.54:1
Contrast with white10.54:1WCAG normal text: AAA
Contrast with black1.99:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#BFCC81
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text10.54:1WCAG large text: AAA
Contrast with black, large text1.99:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#717E33
Analogous#334C7E, #65337E
Triadic#7E4033, #337E40
Split complementary#7E6533, #4C7E33
Tetradic#7E334C, #717E33, #337E65
Tints, shades & saturation
Channel breakdown
R64
G51
B126
Red64 (25.1%)
Green51 (20%)
Blue126 (49.4%)
Hue250.4°
Saturation (HSL)42.37%
Lightness34.71%
Dominant channelBlue
Hex per channelR 40 · G 33 · B 7E
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