#40385D color

#40385D rgb(64, 56, 93)
Shades of blue

The hex color #40385D is a dark, grayish violet.

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

Its hue angle is 253°, with 25% saturation and 29% lightness. For print, the CMYK equivalent is 31% cyan, 40% magenta, 0% yellow and 64% black.

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

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

#40385D color codes

HEX#40385D
RGBrgb(64, 56, 93)
RGB percentrgb(25.1%, 22%, 36.5%)
HSLhsl(253, 25%, 29%)
HSV / HSBhsv(253, 40%, 36%)
CMYKcmyk(31%, 40%, 0%, 64%)
CIE LABlab(25.89, 12.89, -20.85)
CIE LCHlch(25.89, 24.51, 301.72)
CIE XYZxyz(5.504, 4.709, 10.973)
Decimal4208733
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40385D, 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 #40385DRatioAAAAAAA large
Sample text1.94:1FailFailFail
Sample text10.82:1PassPassPass
#40385D as text onRatioAAAAAAA large
Sample text10.82:1PassPassPass
Sample text1.94: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 #40385D looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40385d; }
.text { color: #40385d; }
.border { border: 2px solid #40385d; }
.transparent { background-color: rgb(64 56 93 / 50%); }
.gradient { background: linear-gradient(to right, #40385d, #52385d); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

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