#403E5D color

#403E5D rgb(64, 62, 93)
Shades of blue

The hex color #403E5D is a dark, grayish blue.

In the RGB color model it is made of 25.1% red, 24.3% green and 36.5% blue (64, 62, 93).

Its hue angle is 244°, with 20% saturation and 30% lightness. For print, the CMYK equivalent is 31% cyan, 33% magenta, 0% yellow and 64% black.

The closest named color is Storm Is Coming (#3D3D63), a difference of 2.4 ΔE, a small difference.

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

#403E5D color codes

HEX#403E5D
RGBrgb(64, 62, 93)
RGB percentrgb(25.1%, 24.3%, 36.5%)
HSLhsl(244, 20%, 30%)
HSV / HSBhsv(244, 33%, 36%)
CMYKcmyk(31%, 33%, 0%, 64%)
CIE LABlab(27.64, 8.87, -18.12)
CIE LCHlch(27.64, 20.17, 296.1)
CIE XYZxyz(5.812, 5.325, 11.075)
Decimal4210269
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #403E5D, 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 #403E5DRatioAAAAAAA large
Sample text2.07:1FailFailFail
Sample text10.17:1PassPassPass
#403E5D as text onRatioAAAAAAA large
Sample text10.17:1PassPassPass
Sample text2.07: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 #403E5D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #403e5d; }
.text { color: #403e5d; }
.border { border: 2px solid #403e5d; }
.transparent { background-color: rgb(64 62 93 / 50%); }
.gradient { background: linear-gradient(to right, #403e5d, #4f3e5d); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #403E5D?
#403E5D is a dark, grayish blue, closest to the named color Storm Is Coming. It belongs to the blue family of colors.
What is the RGB value of #403E5D?
The RGB value is 64, 62, 93: 64 red, 62 green and 93 blue on a 0 to 255 scale.
What is the complementary color of #403E5D?
The complementary color is #5B5D3E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #403E5D?
White text. Black text has a contrast ratio of 2.07:1 and white text 10.17:1. WCAG asks for at least 4.5:1 for normal text.