#40396F color

#40396F rgb(64, 57, 111)
Shades of blue

The hex color #40396F is a dark, desaturated blue.

In the RGB color model it is made of 25.1% red, 22.4% green and 43.5% blue (64, 57, 111).

Its hue angle is 248°, with 32% saturation and 33% lightness. For print, the CMYK equivalent is 42% cyan, 49% magenta, 0% yellow and 56% black.

The closest named color is Meteorite (#4A3B6A), a difference of 3.4 ΔE, a small difference.

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

#40396F color codes

HEX#40396F
RGBrgb(64, 57, 111)
RGB percentrgb(25.1%, 22.4%, 43.5%)
HSLhsl(248, 32%, 33%)
HSV / HSBhsv(248, 49%, 44%)
CMYKcmyk(42%, 49%, 0%, 56%)
CIE LABlab(27.2, 17.71, -30.38)
CIE LCHlch(27.2, 35.17, 300.24)
CIE XYZxyz(6.446, 5.164, 15.693)
Decimal4209007
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40396F, 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 #40396FRatioAAAAAAA large
Sample text2.03:1FailFailFail
Sample text10.33:1PassPassPass
#40396F as text onRatioAAAAAAA large
Sample text10.33:1PassPassPass
Sample text2.03: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 #40396F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40396f; }
.text { color: #40396f; }
.border { border: 2px solid #40396f; }
.transparent { background-color: rgb(64 57 111 / 50%); }
.gradient { background: linear-gradient(to right, #40396f, #5b396f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #40396F?
#40396F is a dark, desaturated blue, closest to the named color Meteorite. It belongs to the blue family of colors.
What is the RGB value of #40396F?
The RGB value is 64, 57, 111: 64 red, 57 green and 111 blue on a 0 to 255 scale.
What is the complementary color of #40396F?
The complementary color is #686F39, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40396F?
White text. Black text has a contrast ratio of 2.03:1 and white text 10.33:1. WCAG asks for at least 4.5:1 for normal text.