Recognised as Colour
#40299F
- #40299F
- Blue
- Dark
- Nearest: Indigo
#40299F is a blue with RGB values 64, 41, 159 and HSL 252°, 59%, 39%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#40299F#40299F
HEX#40299F
RGBrgb(64, 41, 159)
RGB (0–1)0.251, 0.1608, 0.6235
RGB percentages25.1%, 16.1%, 62.4%
HSLhsl(251.7, 59%, 39.2%)
HSV / HSBhsv(251.7, 74.2%, 62.4%)
CMYK59.7%, 74.2%, 0%, 37.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,959
CSS custom property--colour: #40299F;
Brightness & contrast
Relative luminance0.05179WCAG 2.x, 0 is black and 1 is white
Perceived brightness71.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.32:1
Contrast with white10.32:1WCAG normal text: AAA
Contrast with black2.04:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#BFD660
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.32:1WCAG large text: AAA
Contrast with black, large text2.04:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#889F29
Analogous#294D9F, #7B299F
Triadic#9F4029, #299F40
Split complementary#9F7B29, #4D9F29
Tetradic#9F294D, #889F29, #299F7B
Tints, shades & saturation
Channel breakdown
R64
G41
B159
Red64 (25.1%)
Green41 (16.1%)
Blue159 (62.4%)
Hue251.69°
Saturation (HSL)59%
Lightness39.22%
Dominant channelBlue
Hex per channelR 40 · G 29 · B 9F
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