Recognised as Colour
#402DF8
- #402DF8
- Blue
- Dark
- Nearest: Medium blue
#402DF8 is a blue with RGB values 64, 45, 248 and HSL 246°, 94%, 57%. It is a dark colour, so white text on it reaches 7.1:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#402DF8#402DF8
HEX#402DF8
RGBrgb(64, 45, 248)
RGB (0–1)0.251, 0.1765, 0.9725
RGB percentages25.1%, 17.6%, 97.3%
HSLhsl(245.6, 93.5%, 57.5%)
HSV / HSBhsv(245.6, 81.9%, 97.3%)
CMYK74.2%, 81.9%, 0%, 2.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,072
CSS custom property--colour: #402DF8;
Brightness & contrast
Relative luminance0.09744WCAG 2.x, 0 is black and 1 is white
Perceived brightness97.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.12:1
Contrast with white7.12:1WCAG normal text: AAA
Contrast with black2.95:1WCAG normal text: Fail
Greyscale equivalent#404040
Inverted#BFD207
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.12:1WCAG large text: AAA
Contrast with black, large text2.95:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#E5F82D
Analogous#2D80F8, #A52DF8
Triadic#F8402D, #2DF840
Split complementary#F8A52D, #80F82D
Tetradic#F82D80, #E5F82D, #2DF8A5
Tints, shades & saturation
Channel breakdown
R64
G45
B248
Red64 (25.1%)
Green45 (17.6%)
Blue248 (97.3%)
Hue245.62°
Saturation (HSL)93.55%
Lightness57.45%
Dominant channelBlue
Hex per channelR 40 · G 2D · B F8
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