Skip to content
Kolorvia
#40528d

Color #40528d

A muted medium blue.

Conversions

HEX
#40528d
RGB
rgb(64, 82, 141)
HSL
hsl(226, 37.6%, 40.2%)
HSV / HSB
hsv(226, 54.6%, 55.3%)
CMYK
cmyk(54.6%, 41.8%, 0%, 44.7%)
LAB
lab(36.07, 11.09, -34.96)
LCH
lch(36.07, 36.68, 287.6)
OKLCH
oklch(45.3%, 0.0991, 269.36)
HWB
hwb(226, 25.1%, 44.7%)

Harmony colors

Complementary

#8d7b40

Analogous

#40788d
#40528d
#55408d

Triadic

#40528d
#8d4052
#528d40

Split-complementary

#40528d
#8d5540
#788d40

Tetradic

#40528d
#7b408d
#8d7b40
#528d40

Square

#40528d
#8d4078
#8d7b40
#408d55

Shades

Color #40528d mixed toward black.

#354476
#2b375e
#202947
#151b2f
#0b0e18

Tints

Color #40528d mixed toward white.

#5066b0
#7385c0
#96a3cf
#b9c2df
#dce0ef

Tones

Color #40528d mixed toward gray.

#465587
#4d5980
#535c7a
#5a6073
#60636d

Accessibility

Aa White text on this color
7.47:1
Aa Black text on this color
2.81:1

White text reads better on this background (7.47:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#484982 · ΔE 4.9

Deuteranopia

#47467f · ΔE 5.8

Tritanopia

#417876 · ΔE 26.6

Achromatopsia

#555555 · ΔE 20.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #40528d;
Tailwind (arbitrary value)
bg-[#40528d]

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Navy #000080
Lavender #e6e6fa
Blue #0000ff

Frequently asked questions

#40528d (#40528d) is rgb(64, 82, 141) in RGB.

No, #40528d is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #40528d, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.