Recognised as Colour
#40337A
- #40337A
- Blue
- Dark
- Nearest: Dark slateblue
#40337A is a blue with RGB values 64, 51, 122 and HSL 251°, 41%, 34%. It is a dark colour, so white text on it reaches 10.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40337A#40337A
HEX#40337A
RGBrgb(64, 51, 122)
RGB (0–1)0.251, 0.2, 0.4784
RGB percentages25.1%, 20%, 47.8%
HSLhsl(251, 41%, 33.9%)
HSV / HSBhsv(251, 58.2%, 47.8%)
CMYK47.5%, 58.2%, 0%, 52.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,207,482
CSS custom property--colour: #40337A;
Brightness & contrast
Relative luminance0.04863WCAG 2.x, 0 is black and 1 is white
Perceived brightness66.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.65:1
Contrast with white10.65:1WCAG normal text: AAA
Contrast with black1.97:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#BFCC85
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text10.65:1WCAG large text: AAA
Contrast with black, large text1.97:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#6D7A33
Analogous#334A7A, #63337A
Triadic#7A4033, #337A40
Split complementary#7A6433, #4A7A33
Tetradic#7A334A, #6D7A33, #337A63
Tints, shades & saturation
Channel breakdown
R64
G51
B122
Red64 (25.1%)
Green51 (20%)
Blue122 (47.8%)
Hue250.99°
Saturation (HSL)41.04%
Lightness33.92%
Dominant channelBlue
Hex per channelR 40 · G 33 · B 7A
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