#405899#405899
#405899 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.4% C 0.109 H 267.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #405899 |
|---|---|
| RGB | rgb(64, 88, 153) |
| HSL | hsl(224, 41%, 43%) |
| HSV | hsv(224, 58%, 60%) |
| CMYK | cmyk(58.2%, 42.5%, 0%, 40%) |
| CIE-LAB | lab(38.50, 11.34, -38.36) |
| CIE-LCH | lch(38.50, 40.00, 286.46°) |
| OKLab | oklab(47.37% -0.0058 -0.109) |
| OKLCH | oklch(47.37% 0.109 267) |
| XYZ | xyz(11.3519, 10.3685, 31.5339) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.30
Dusky Blue
#475F94
ΔE00 2.65
Dusk Blue
#26538D
ΔE00 4.70
Light Navy Blue
#2E5A88
ΔE00 5.28
Twilight
#4E518B
ΔE00 5.57
Sapphire
#0F52BA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405899 #998140
analogous
#408599 #405899 #544099
triadic
#405899 #994058 #589940
tetradic
#405899 #994085 #998140 #409954
square
#405899 #994085 #998140 #409954
split-complementary
#405899 #995440 #859940
monochromatic
#1C2643 #2E3F6E #405899 #5C75BB #879ACD
Accessibility & contrast
On white
6.83
#405899 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#405899 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405899
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405899 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#315798
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #405899; /* rgb */ color: rgb(64, 88, 153); /* oklch */ color: oklch(47.4% 0.109 267.0);
Tailwind
colors: {
custom: {
50: '#7c86b7',
500: '#405899',
950: '#000000',
},
}SCSS
$custom: #405899; $custom-light: #7c86b7; $custom-dark: #000000;
JSON
{
"hex": "#405899",
"rgb": {
"r": 64,
"g": 88,
"b": 153
},
"hsl": {
"h": 223.82,
"s": 41.014,
"l": 42.549
},
"oklch": {
"l": 0.47374,
"c": 0.10919,
"h": 267
},
"luminance": 0.10369
}Semantic roles & 50–950 ramp
primary
#405899
secondary
#B7A87E
accent
#B057D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80