#403F84 color

#403F84 rgb(64, 63, 132)
Shades of blue

The hex color #403F84 is a desaturated blue.

In the RGB color model it is made of 25.1% red, 24.7% green and 51.8% blue (64, 63, 132).

Its hue angle is 241°, with 35% saturation and 38% lightness. For print, the CMYK equivalent is 52% cyan, 52% magenta, 0% yellow and 48% black.

The closest named color is Evening Magic (#363E7D), a difference of 2.3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 9.28:1).

#403F84 color codes

HEX#403F84
RGBrgb(64, 63, 132)
RGB percentrgb(25.1%, 24.7%, 51.8%)
HSLhsl(241, 35%, 38%)
HSV / HSBhsv(241, 52%, 52%)
CMYKcmyk(52%, 52%, 0%, 48%)
CIE LABlab(30.18, 20.56, -38.82)
CIE LCHlch(30.18, 43.93, 297.91)
CIE XYZxyz(8.055, 6.311, 22.619)
Decimal4210564
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #403F84, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #403F84RatioAAAAAAA large
Sample text2.26:1FailFailFail
Sample text9.28:1PassPassPass
#403F84 as text onRatioAAAAAAA large
Sample text9.28:1PassPassPass
Sample text2.26:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #403F84 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #403f84; }
.text { color: #403f84; }
.border { border: 2px solid #403f84; }
.transparent { background-color: rgb(64 63 132 / 50%); }
.gradient { background: linear-gradient(to right, #403f84, #623f84); }
Background
Text color
Border

Similar colors

Questions

What color is #403F84?
#403F84 is a desaturated blue, closest to the named color Evening Magic. It belongs to the blue family of colors.
What is the RGB value of #403F84?
The RGB value is 64, 63, 132: 64 red, 63 green and 132 blue on a 0 to 255 scale.
What is the complementary color of #403F84?
The complementary color is #83843F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403F84?
White text. Black text has a contrast ratio of 2.26:1 and white text 9.28:1. WCAG asks for at least 4.5:1 for normal text.