#40465C color

#40465C rgb(64, 70, 92)
Shades of blue

The hex color #40465C is a dark, grayish blue.

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

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

The closest named color is Lava Stone (#3C4151), a difference of 3.1 ΔE, a small difference.

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

#40465C color codes

HEX#40465C
RGBrgb(64, 70, 92)
RGB percentrgb(25.1%, 27.5%, 36.1%)
HSLhsl(227, 18%, 31%)
HSV / HSBhsv(227, 30%, 36%)
CMYKcmyk(30%, 24%, 0%, 64%)
CIE LABlab(30.02, 3.31, -13.81)
CIE LCHlch(30.02, 14.2, 283.48)
CIE XYZxyz(6.236, 6.243, 11)
Decimal4212316
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40465C, 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 #40465CRatioAAAAAAA large
Sample text2.25:1FailFailFail
Sample text9.34:1PassPassPass
#40465C as text onRatioAAAAAAA large
Sample text9.34:1PassPassPass
Sample text2.25: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 #40465C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40465c; }
.text { color: #40465c; }
.border { border: 2px solid #40465c; }
.transparent { background-color: rgb(64 70 92 / 50%); }
.gradient { background: linear-gradient(to right, #40465c, #48405c); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #40465C?
#40465C is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the blue family of colors.
What is the RGB value of #40465C?
The RGB value is 64, 70, 92: 64 red, 70 green and 92 blue on a 0 to 255 scale.
What is the complementary color of #40465C?
The complementary color is #5C5640, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40465C?
White text. Black text has a contrast ratio of 2.25:1 and white text 9.34:1. WCAG asks for at least 4.5:1 for normal text.