Recognised as Colour
#4040DF
- #4040DF
- Blue
- Dark
- Nearest: Blue violet
#4040DF is a blue with RGB values 64, 64, 223 and HSL 240°, 71%, 56%. It is a dark colour, so white text on it reaches 7:1 contrast (AA for normal text). The nearest named colour is Blue violet.
Colour values
#4040DF#4040DF
HEX#4040DF
RGBrgb(64, 64, 223)
RGB (0–1)0.251, 0.251, 0.8745
RGB percentages25.1%, 25.1%, 87.5%
HSLhsl(240, 71.3%, 56.3%)
HSV / HSBhsv(240, 71.3%, 87.5%)
CMYK71.3%, 71.3%, 0%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,210,911
CSS custom property--colour: #4040DF;
Brightness & contrast
Relative luminance0.10084WCAG 2.x, 0 is black and 1 is white
Perceived brightness96.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.96:1
Contrast with white6.96:1WCAG normal text: AA
Contrast with black3.02:1WCAG normal text: Fail
Greyscale equivalent#4B4B4B
Inverted#BFBF20
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.96:1WCAG large text: AAA
Contrast with black, large text3.02:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#DFDF40
Analogous#4090DF, #9040DF
Triadic#DF4040, #40DF40
Split complementary#DF9040, #90DF40
Tetradic#DF4090, #DFDF40, #40DF90
Tints, shades & saturation
Channel breakdown
R64
G64
B223
Red64 (25.1%)
Green64 (25.1%)
Blue223 (87.5%)
Hue240°
Saturation (HSL)71.3%
Lightness56.27%
Dominant channelBlue
Hex per channelR 40 · G 40 · 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