Recognised as Colour
#402AA1
- #402AA1
- Blue
- Dark
- Nearest: Indigo
#402AA1 is a blue with RGB values 64, 42, 161 and HSL 251°, 59%, 40%. It is a dark colour, so white text on it reaches 10.2:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#402AA1#402AA1
HEX#402AA1
RGBrgb(64, 42, 161)
RGB (0–1)0.251, 0.1647, 0.6314
RGB percentages25.1%, 16.5%, 63.1%
HSLhsl(251.1, 58.6%, 39.8%)
HSV / HSBhsv(251.1, 73.9%, 63.1%)
CMYK60.2%, 73.9%, 0%, 36.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,217
CSS custom property--colour: #402AA1;
Brightness & contrast
Relative luminance0.05319WCAG 2.x, 0 is black and 1 is white
Perceived brightness72.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.18:1
Contrast with white10.18:1WCAG normal text: AAA
Contrast with black2.06:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#BFD55E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.18:1WCAG large text: AAA
Contrast with black, large text2.06:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8BA12A
Analogous#2A4FA1, #7C2AA1
Triadic#A1402A, #2AA140
Split complementary#A17C2A, #4FA12A
Tetradic#A12A4F, #8BA12A, #2AA17C
Tints, shades & saturation
Channel breakdown
R64
G42
B161
Red64 (25.1%)
Green42 (16.5%)
Blue161 (63.1%)
Hue251.09°
Saturation (HSL)58.62%
Lightness39.8%
Dominant channelBlue
Hex per channelR 40 · G 2A · B A1
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