#40537B color

#40537B rgb(64, 83, 123)
Shades of blue

The hex color #40537B is a dark, desaturated blue.

In the RGB color model it is made of 25.1% red, 32.5% green and 48.2% blue (64, 83, 123).

Its hue angle is 221°, with 32% saturation and 37% lightness. For print, the CMYK equivalent is 48% cyan, 33% magenta, 0% yellow and 52% black.

The closest named color is Sailor (#445780), a difference of 1.4 ΔE, which is barely visible.

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

#40537B color codes

HEX#40537B
RGBrgb(64, 83, 123)
RGB percentrgb(25.1%, 32.5%, 48.2%)
HSLhsl(221, 32%, 37%)
HSV / HSBhsv(221, 48%, 48%)
CMYKcmyk(48%, 33%, 0%, 52%)
CIE LABlab(35.41, 4.43, -24.96)
CIE LCHlch(35.41, 25.35, 280.08)
CIE XYZxyz(8.782, 8.706, 19.953)
Decimal4215675
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40537B, 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 #40537BRatioAAAAAAA large
Sample text2.74:1FailFailFail
Sample text7.66:1PassPassPass
#40537B as text onRatioAAAAAAA large
Sample text7.66:1PassPassPass
Sample text2.74: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 #40537B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40537b; }
.text { color: #40537b; }
.border { border: 2px solid #40537b; }
.transparent { background-color: rgb(64 83 123 / 50%); }
.gradient { background: linear-gradient(to right, #40537b, #4a407b); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #40537B?
#40537B is a dark, desaturated blue, closest to the named color Sailor. It belongs to the blue family of colors.
What is the RGB value of #40537B?
The RGB value is 64, 83, 123: 64 red, 83 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #40537B?
The complementary color is #7B6840, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40537B?
White text. Black text has a contrast ratio of 2.74:1 and white text 7.66:1. WCAG asks for at least 4.5:1 for normal text.