Skip to main content
ToolsHub
#0040FF

#0040FF Color — #0040FF

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

Color Format Conversions

HEX#0040FF
RGBrgb(0, 64, 255)
HSLhsl(225, 100%, 50%)
HSVhsv(225, 100%, 100%)
CMYKC:100% M:75% Y:0% K:0%
CSS Color#0040FF
Decimal16639
Luminance0.1089

WCAG Accessibility Contrast

#0040FF on White
Ratio: 6.61:1 — AA
#0040FF on Black
Ratio: 3.18:1 — AA Large
White on #0040FF
Ratio: 6.61:1 — AA
Black on #0040FF
Ratio: 3.18:1 — AA Large

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

Shades & Tints Scale

50#F2F5FF
100#D9E2FF
200#B3C6FF
300#8CA9FF
400#5983FF
500#0040FF
600#0033CC
700#002699
800#001A66
900#001040

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 #0040FF?

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

What is the HSL value of #0040FF?

The HSL value is hsl(225, 100%, 50%). Hue is 225°, saturation is 100%, and lightness is 50%.

Does #0040FF meet WCAG accessibility standards?

On a white background, #0040FF achieves a 6.61:1 contrast ratio (AA). On a black background it achieves 3.18:1 (AA Large). WCAG AA requires ≥4.5:1 for normal text.

What is the complementary color of #0040FF?

The complementary color (180° opposite on the hue wheel) of #0040FF is #FFBF00.