Skip to main content
ToolsHub
#4040CE

#4040CE Color — #4040CE

Complete color reference for #4040CE: conversions to RGB, HSL, HSV, CMYK, color harmonies, shades & tints scale, and WCAG accessibility contrast ratios.

Color Format Conversions

HEX#4040CE
RGBrgb(64, 64, 206)
HSLhsl(240, 59%, 53%)
HSVhsv(240, 69%, 81%)
CMYKC:69% M:69% Y:0% K:19%
CSS Color#4040CE
Decimal4210894
Luminance0.0921

WCAG Accessibility Contrast

#4040CE on White
Ratio: 7.39:1 — AAA
#4040CE on Black
Ratio: 2.84:1 — Fail
White on #4040CE
Ratio: 7.39:1 — AAA
Black on #4040CE
Ratio: 2.84:1 — Fail

WCAG AA requires ≥4.5:1 (normal text) or ≥3:1 (large text). WCAG AAA requires ≥7:1.

Shades & Tints Scale

50#F5F5FD
100#E2E2F8
200#C6C6F0
300#A9A9E9
400#8383DF
500#4040CE
600#3333A5
700#26267C
800#1A1A52
900#101034

Steps 50–400 are tints (mixed with white); 500 is the base color; 600–900 are shades (mixed with black).

Color Harmonies

Related Color Tools

Frequently Asked Questions

What is the RGB equivalent of #4040CE?

The RGB equivalent is rgb(64, 64, 206). The red channel is 64, green is 64, and blue is 206 (scale 0–255).

What is the HSL value of #4040CE?

The HSL value is hsl(240, 59%, 53%). Hue is 240°, saturation is 59%, and lightness is 53%.

Does #4040CE meet WCAG accessibility standards?

On a white background, #4040CE achieves a 7.39:1 contrast ratio (AAA). On a black background it achieves 2.84:1 (Fail). WCAG AA requires ≥4.5:1 for normal text.

What is the complementary color of #4040CE?

The complementary color (180° opposite on the hue wheel) of #4040CE is #CECE40.