Recognised as Colour
#402FDF
- #402FDF
- Blue
- Dark
- Nearest: Medium blue
#402FDF is a blue with RGB values 64, 47, 223 and HSL 246°, 73%, 53%. It is a dark colour, so white text on it reaches 7.8:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#402FDF#402FDF
HEX#402FDF
RGBrgb(64, 47, 223)
RGB (0–1)0.251, 0.1843, 0.8745
RGB percentages25.1%, 18.4%, 87.5%
HSLhsl(245.8, 73.3%, 52.9%)
HSV / HSBhsv(245.8, 78.9%, 87.5%)
CMYK71.3%, 78.9%, 0%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,559
CSS custom property--colour: #402FDF;
Brightness & contrast
Relative luminance0.08451WCAG 2.x, 0 is black and 1 is white
Perceived brightness90.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.81:1
Contrast with white7.81:1WCAG normal text: AAA
Contrast with black2.69:1WCAG normal text: Fail
Greyscale equivalent#3F3F3F
Inverted#BFD020
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.81:1WCAG large text: AAA
Contrast with black, large text2.69:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#CEDF2F
Analogous#2F76DF, #982FDF
Triadic#DF402F, #2FDF40
Split complementary#DF982F, #76DF2F
Tetradic#DF2F76, #CEDF2F, #2FDF98
Tints, shades & saturation
Channel breakdown
R64
G47
B223
Red64 (25.1%)
Green47 (18.4%)
Blue223 (87.5%)
Hue245.8°
Saturation (HSL)73.33%
Lightness52.94%
Dominant channelBlue
Hex per channelR 40 · G 2F · B DF
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