#405CB4#405CB4
#405CB4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.143 H 267.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #405CB4 |
|---|---|
| RGB | rgb(64, 92, 180) |
| HSL | hsl(226, 48%, 48%) |
| HSV | hsv(226, 64%, 71%) |
| CMYK | cmyk(64.4%, 48.9%, 0%, 29.4%) |
| CIE-LAB | lab(41.28, 18.28, -49.94) |
| CIE-LCH | lch(41.28, 53.18, 290.11°) |
| OKLab | oklab(50.04% -0.0057 -0.143) |
| OKLCH | oklch(50.04% 0.143 267.7) |
| XYZ | xyz(14.1769, 12.0383, 44.7477) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.63
Dusky Blue
#475F94
ΔE00 4.72
Denim Blue
#3B5B92
ΔE00 4.80
Denim
#1560BD
ΔE00 5.02
French Blue
#436BAD
ΔE00 5.58
Denim (survey)
#3B638C
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CB4 #B49840
analogous
#4096B4 #405CB4 #5E40B4
triadic
#405CB4 #B4405C #5CB440
tetradic
#405CB4 #B44096 #B49840 #40B45E
square
#405CB4 #B44096 #B49840 #40B45E
split-complementary
#405CB4 #B45E40 #96B440
monochromatic
#202E5A #304587 #405CB4 #687FC9 #95A6D9
Accessibility & contrast
On white
6.16
#405CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#405CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CB4
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CB4 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#145CB2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405cb4; /* rgb */ color: rgb(64, 92, 180); /* oklch */ color: oklch(50.0% 0.143 267.7);
Tailwind
colors: {
custom: {
50: '#8189cb',
500: '#405cb4',
950: '#000000',
},
}SCSS
$custom: #405cb4; $custom-light: #8189cb; $custom-dark: #000000;
JSON
{
"hex": "#405cb4",
"rgb": {
"r": 64,
"g": 92,
"b": 180
},
"hsl": {
"h": 225.517,
"s": 47.541,
"l": 47.843
},
"oklch": {
"l": 0.50037,
"c": 0.14311,
"h": 267.7
},
"luminance": 0.1204
}Semantic roles & 50–950 ramp
primary
#405CB4
secondary
#C5B78B
accent
#B751D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82