Skip to main content
ToolsHub
#0840E7

#0840E7 Color — #0840E7

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

Color Format Conversions

HEX#0840E7
RGBrgb(8, 64, 231)
HSLhsl(225, 93%, 47%)
HSVhsv(225, 97%, 91%)
CMYKC:97% M:72% Y:0% K:9%
CSS Color#0840E7
Decimal540903
Luminance0.0949

WCAG Accessibility Contrast

#0840E7 on White
Ratio: 7.25:1 — AAA
#0840E7 on Black
Ratio: 2.9:1 — Fail
White on #0840E7
Ratio: 7.25:1 — AAA
Black on #0840E7
Ratio: 2.9:1 — Fail

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

Shades & Tints Scale

50#F3F5FE
100#DAE2FB
200#B5C6F8
300#90A9F4
400#5E83EF
500#0840E7
600#0633B9
700#05268B
800#031A5C
900#02103A

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 #0840E7?

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

What is the HSL value of #0840E7?

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

Does #0840E7 meet WCAG accessibility standards?

On a white background, #0840E7 achieves a 7.25:1 contrast ratio (AAA). On a black background it achieves 2.9:1 (Fail). WCAG AA requires ≥4.5:1 for normal text.

What is the complementary color of #0840E7?

The complementary color (180° opposite on the hue wheel) of #0840E7 is #E7B008.