#40529F#40529F
#40529F is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.126 H 270.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #40529F |
|---|---|
| RGB | rgb(64, 82, 159) |
| HSL | hsl(229, 43%, 44%) |
| HSV | hsv(229, 60%, 62%) |
| CMYK | cmyk(59.7%, 48.4%, 0%, 37.6%) |
| CIE-LAB | lab(37.16, 17.33, -44.09) |
| CIE-LCH | lch(37.16, 47.38, 291.46°) |
| OKLab | oklab(46.47% 0.002 -0.1259) |
| OKLCH | oklch(46.47% 0.126 270.9) |
| XYZ | xyz(11.3876, 9.6269, 34.0522) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.60
Dusky Blue
#475F94
ΔE00 4.96
Twilight
#4E518B
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.51
Cobalt (survey)
#1E488F
ΔE00 5.56
Dusk Blue
#26538D
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40529F #9F8D40
analogous
#40819F #40529F #5D409F
triadic
#40529F #9F4052 #529F40
tetradic
#40529F #9F4081 #9F8D40 #409F5D
square
#40529F #9F4081 #9F8D40 #409F5D
split-complementary
#40529F #9F5D40 #819F40
monochromatic
#1D2548 #2E3B73 #40529F #5E70BE #8A97D0
Accessibility & contrast
On white
7.18
#40529F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#40529F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40529F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40529F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40529F | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#1D539D
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #40529f; /* rgb */ color: rgb(64, 82, 159); /* oklch */ color: oklch(46.5% 0.126 270.9);
Tailwind
colors: {
custom: {
50: '#7d82bc',
500: '#40529f',
950: '#000000',
},
}SCSS
$custom: #40529f; $custom-light: #7d82bc; $custom-dark: #000000;
JSON
{
"hex": "#40529f",
"rgb": {
"r": 64,
"g": 82,
"b": 159
},
"hsl": {
"h": 228.632,
"s": 42.601,
"l": 43.725
},
"oklch": {
"l": 0.46474,
"c": 0.12594,
"h": 270.9
},
"luminance": 0.09628
}Semantic roles & 50–950 ramp
primary
#40529F
secondary
#BBAF80
accent
#BB55D2
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81