Recognised as Colour
#402EA2
- #402EA2
- Blue
- Dark
- Nearest: Rebecca purple
#402EA2 is a blue with RGB values 64, 46, 162 and HSL 249°, 56%, 41%. It is a dark colour, so white text on it reaches 9.9:1 contrast (AAA for normal text). The nearest named colour is Rebecca purple.
Colour values
#402EA2#402EA2
HEX#402EA2
RGBrgb(64, 46, 162)
RGB (0–1)0.251, 0.1804, 0.6353
RGB percentages25.1%, 18%, 63.5%
HSLhsl(249.3, 55.8%, 40.8%)
HSV / HSBhsv(249.3, 71.6%, 63.5%)
CMYK60.5%, 71.6%, 0%, 36.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,242
CSS custom property--colour: #402EA2;
Brightness & contrast
Relative luminance0.05653WCAG 2.x, 0 is black and 1 is white
Perceived brightness73.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.86:1
Contrast with white9.86:1WCAG normal text: AAA
Contrast with black2.13:1WCAG normal text: Fail
Greyscale equivalent#3A3A3A
Inverted#BFD15D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.86:1WCAG large text: AAA
Contrast with black, large text2.13:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#90A22E
Analogous#2E56A2, #7A2EA2
Triadic#A2402E, #2EA240
Split complementary#A27A2E, #56A22E
Tetradic#A22E56, #90A22E, #2EA27A
Tints, shades & saturation
Channel breakdown
R64
G46
B162
Red64 (25.1%)
Green46 (18%)
Blue162 (63.5%)
Hue249.31°
Saturation (HSL)55.77%
Lightness40.78%
Dominant channelBlue
Hex per channelR 40 · G 2E · B A2
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