#40466E color

#40466E rgb(64, 70, 110)
Shades of blue

The hex color #40466E is a dark, desaturated blue.

In the RGB color model it is made of 25.1% red, 27.5% green and 43.1% blue (64, 70, 110).

Its hue angle is 232°, with 26% saturation and 34% lightness. For print, the CMYK equivalent is 42% cyan, 36% magenta, 0% yellow and 57% black.

The closest named color is Starlit Night (#3B476B), a difference of 2.3 ΔE, a small difference.

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

#40466E color codes

HEX#40466E
RGBrgb(64, 70, 110)
RGB percentrgb(25.1%, 27.5%, 43.1%)
HSLhsl(232, 26%, 34%)
HSV / HSBhsv(232, 42%, 43%)
CMYKcmyk(42%, 36%, 0%, 57%)
CIE LABlab(30.87, 8.74, -23.95)
CIE LCHlch(30.87, 25.49, 290.04)
CIE XYZxyz(7.118, 6.596, 15.647)
Decimal4212334
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40466E, 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 #40466ERatioAAAAAAA large
Sample text2.32:1FailFailFail
Sample text9.05:1PassPassPass
#40466E as text onRatioAAAAAAA large
Sample text9.05:1PassPassPass
Sample text2.32: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 #40466E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40466e; }
.text { color: #40466e; }
.border { border: 2px solid #40466e; }
.transparent { background-color: rgb(64 70 110 / 50%); }
.gradient { background: linear-gradient(to right, #40466e, #51406e); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #40466E?
#40466E is a dark, desaturated blue, closest to the named color Starlit Night. It belongs to the blue family of colors.
What is the RGB value of #40466E?
The RGB value is 64, 70, 110: 64 red, 70 green and 110 blue on a 0 to 255 scale.
What is the complementary color of #40466E?
The complementary color is #6E6840, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40466E?
White text. Black text has a contrast ratio of 2.32:1 and white text 9.05:1. WCAG asks for at least 4.5:1 for normal text.