#40567F#40567F
#40567F is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.4% C 0.073 H 262.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #40567F |
|---|---|
| RGB | rgb(64, 86, 127) |
| HSL | hsl(219, 33%, 37%) |
| HSV | hsv(219, 50%, 50%) |
| CMYK | cmyk(49.6%, 32.3%, 0%, 50.2%) |
| CIE-LAB | lab(36.51, 3.82, -25.70) |
| CIE-LCH | lch(36.51, 25.98, 278.45°) |
| OKLab | oklab(45.38% -0.0098 -0.0721) |
| OKLCH | oklch(45.38% 0.073 262.3) |
| XYZ | xyz(9.2716, 9.2773, 21.3767) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.62
Dusky Blue
#475F94
ΔE00 4.12
Dusk
#4E5481
ΔE00 4.79
Dusk Blue
#26538D
ΔE00 4.82
Light Navy Blue
#2E5A88
ΔE00 4.87
Twilight
#4E518B
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40567F #7F6940
analogous
#40757F #40567F #4A407F
triadic
#40567F #7F4056 #567F40
tetradic
#40567F #7F4075 #7F6940 #407F4A
square
#40567F #7F4075 #7F6940 #407F4A
split-complementary
#40567F #7F4A40 #757F40
monochromatic
#171F2E #2B3A56 #40567F #5572A8 #7C93BD
Accessibility & contrast
On white
7.35
#40567F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#40567F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40567F
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40567F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40567F | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475981
Deuteranopia (green-blind)
#40537E
Tritanopia (blue-blind)
#265F65
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #40567f; /* rgb */ color: rgb(64, 86, 127); /* oklch */ color: oklch(45.4% 0.073 262.3);
Tailwind
colors: {
custom: {
50: '#7885a4',
500: '#40567f',
950: '#000000',
},
}SCSS
$custom: #40567f; $custom-light: #7885a4; $custom-dark: #000000;
JSON
{
"hex": "#40567f",
"rgb": {
"r": 64,
"g": 86,
"b": 127
},
"hsl": {
"h": 219.048,
"s": 32.984,
"l": 37.451
},
"oklch": {
"l": 0.45383,
"c": 0.07279,
"h": 262.3
},
"luminance": 0.09278
}Semantic roles & 50–950 ramp
primary
#40567F
secondary
#A89573
accent
#A45FC9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B0F
muted
#7B7C7F