#405CAE#405CAE
#405CAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.135 H 267.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #405CAE |
|---|---|
| RGB | rgb(64, 92, 174) |
| HSL | hsl(225, 46%, 47%) |
| HSV | hsv(225, 63%, 68%) |
| CMYK | cmyk(63.2%, 47.1%, 0%, 31.8%) |
| CIE-LAB | lab(40.90, 16.15, -47.03) |
| CIE-LCH | lch(40.90, 49.72, 288.95°) |
| OKLab | oklab(49.62% -0.0065 -0.1344) |
| OKLCH | oklch(49.62% 0.135 267.2) |
| XYZ | xyz(13.5789, 11.7991, 41.5981) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.98
Denim Blue
#3B5B92
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.73
Denim
#1560BD
ΔE00 5.03
French Blue
#436BAD
ΔE00 5.46
Denim (survey)
#3B638C
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CAE #AE9240
analogous
#4093AE #405CAE #5B40AE
triadic
#405CAE #AE405C #5CAE40
tetradic
#405CAE #AE4093 #AE9240 #40AE5B
square
#405CAE #AE4093 #AE9240 #40AE5B
split-complementary
#405CAE #AE5B40 #93AE40
monochromatic
#1F2D55 #304481 #405CAE #657EC6 #92A3D7
Accessibility & contrast
On white
6.25
#405CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#405CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CAE
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CAE | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #405cae; /* rgb */ color: rgb(64, 92, 174); /* oklch */ color: oklch(49.6% 0.135 267.2);
Tailwind
colors: {
custom: {
50: '#7f89c7',
500: '#405cae',
950: '#000000',
},
}SCSS
$custom: #405cae; $custom-light: #7f89c7; $custom-dark: #000000;
JSON
{
"hex": "#405cae",
"rgb": {
"r": 64,
"g": 92,
"b": 174
},
"hsl": {
"h": 224.727,
"s": 46.218,
"l": 46.667
},
"oklch": {
"l": 0.49623,
"c": 0.13458,
"h": 267.2
},
"luminance": 0.118
}Semantic roles & 50–950 ramp
primary
#405CAE
secondary
#C2B388
accent
#B452D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82