#40529B#40529B
#40529B is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.120 H 270.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #40529B |
|---|---|
| RGB | rgb(64, 82, 155) |
| HSL | hsl(228, 42%, 43%) |
| HSV | hsv(228, 59%, 61%) |
| CMYK | cmyk(58.7%, 47.1%, 0%, 39.2%) |
| CIE-LAB | lab(36.91, 15.93, -42.10) |
| CIE-LCH | lch(36.91, 45.01, 290.73°) |
| OKLab | oklab(46.2% 0.0014 -0.12) |
| OKLCH | oklch(46.2% 0.12 270.7) |
| XYZ | xyz(11.0461, 9.4903, 32.2537) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.36
Twilight
#4E518B
ΔE00 4.69
Dusky Blue
#475F94
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.37
Dusk Blue
#26538D
ΔE00 5.57
Sapphire
#0F52BA
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40529B #9B8940
analogous
#407F9B #40529B #5B409B
triadic
#40529B #9B4052 #529B40
tetradic
#40529B #9B407F #9B8940 #409B5B
square
#40529B #9B407F #9B8940 #409B5B
split-complementary
#40529B #9B5B40 #7F9B40
monochromatic
#1C2444 #2E3B70 #40529B #5C6FBC #8896CE
Accessibility & contrast
On white
7.25
#40529B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#40529B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40529B
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40529B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40529B | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #40529b; /* rgb */ color: rgb(64, 82, 155); /* oklch */ color: oklch(46.2% 0.120 270.7);
Tailwind
colors: {
custom: {
50: '#7d82b9',
500: '#40529b',
950: '#000000',
},
}SCSS
$custom: #40529b; $custom-light: #7d82b9; $custom-dark: #000000;
JSON
{
"hex": "#40529b",
"rgb": {
"r": 64,
"g": 82,
"b": 155
},
"hsl": {
"h": 228.132,
"s": 41.553,
"l": 42.941
},
"oklch": {
"l": 0.462,
"c": 0.12006,
"h": 270.7
},
"luminance": 0.09491
}Semantic roles & 50–950 ramp
primary
#40529B
secondary
#B8AD7E
accent
#B956D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80