Recognised as Colour
#40517B
- #40517B
- Blue
- Dark
- Nearest: Steel blue
#40517B is a blue with RGB values 64, 81, 123 and HSL 223°, 32%, 37%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Steel blue.
Colour values
#40517B#40517B
HEX#40517B
RGBrgb(64, 81, 123)
RGB (0–1)0.251, 0.3176, 0.4824
RGB percentages25.1%, 31.8%, 48.2%
HSLhsl(222.7, 31.6%, 36.7%)
HSV / HSBhsv(222.7, 48%, 48.2%)
CMYK48%, 34.1%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,215,163
CSS custom property--colour: #40517B;
Brightness & contrast
Relative luminance0.08405WCAG 2.x, 0 is black and 1 is white
Perceived brightness82.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.83:1
Contrast with white7.83:1WCAG normal text: AAA
Contrast with black2.68:1WCAG normal text: Fail
Greyscale equivalent#505050
Inverted#BFAE84
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text7.83:1WCAG large text: AAA
Contrast with black, large text2.68:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7B6A40
Analogous#406E7B, #4D407B
Triadic#7B4051, #517B40
Split complementary#7B4D40, #6E7B40
Tetradic#7B406E, #7B6A40, #407B4D
Tints, shades & saturation
Channel breakdown
R64
G81
B123
Red64 (25.1%)
Green81 (31.8%)
Blue123 (48.2%)
Hue222.71°
Saturation (HSL)31.55%
Lightness36.67%
Dominant channelBlue
Hex per channelR 40 · G 51 · B 7B
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