Nerdulator> put something in

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

Protanopia#0061E4no red cones; affects about 1% of men; ΔE 24.5 from the original
Deuteranopia#0052DCno green cones; the most common form, about 1% of men; ΔE 16.6 from the original
Tritanopia#006D8Bno blue cones; rare, and affects men and women equally; ΔE 86.4 from the original
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

Nearest named CSS colourBlue violet (#8A2BE2)ΔE 20.59, a distinctly different colour
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

Lighter +40%#EFEFFC
Lighter +30%#C3C3F5
Lighter +20%#9797EE
Lighter +10%#6C6CE6
Darker −10%#2222CA
Darker −20%#1B1B9E
Darker −30%#131373
Darker −40%#0C0C47
More saturated +25%#2424FB
Less saturated −25%#5C5CC3

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “4040df” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.