#405CB0#405CB0
#405CB0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.137 H 267.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #405CB0 |
|---|---|
| RGB | rgb(64, 92, 176) |
| HSL | hsl(225, 47%, 47%) |
| HSV | hsv(225, 64%, 69%) |
| CMYK | cmyk(63.6%, 47.7%, 0%, 31%) |
| CIE-LAB | lab(41.02, 16.86, -48.00) |
| CIE-LCH | lch(41.02, 50.88, 289.35°) |
| OKLab | oklab(49.76% -0.0062 -0.1373) |
| OKLCH | oklch(49.76% 0.137 267.4) |
| XYZ | xyz(13.7753, 11.8776, 42.6326) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.23
Denim Blue
#3B5B92
ΔE00 4.29
Sapphire
#0F52BA
ΔE00 4.68
Denim
#1560BD
ΔE00 5.01
French Blue
#436BAD
ΔE00 5.49
Denim (survey)
#3B638C
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CB0 #B09440
analogous
#4094B0 #405CB0 #5C40B0
triadic
#405CB0 #B0405C #5CB040
tetradic
#405CB0 #B04094 #B09440 #40B05C
square
#405CB0 #B04094 #B09440 #40B05C
split-complementary
#405CB0 #B05C40 #94B040
monochromatic
#1F2D56 #304583 #405CB0 #667EC7 #93A4D8
Accessibility & contrast
On white
6.22
#405CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#405CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CB0
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CB0 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#1D5CAE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405cb0; /* rgb */ color: rgb(64, 92, 176); /* oklch */ color: oklch(49.8% 0.137 267.4);
Tailwind
colors: {
custom: {
50: '#8089c8',
500: '#405cb0',
950: '#000000',
},
}SCSS
$custom: #405cb0; $custom-light: #8089c8; $custom-dark: #000000;
JSON
{
"hex": "#405cb0",
"rgb": {
"r": 64,
"g": 92,
"b": 176
},
"hsl": {
"h": 225,
"s": 46.667,
"l": 47.059
},
"oklch": {
"l": 0.4976,
"c": 0.13743,
"h": 267.4
},
"luminance": 0.11879
}Semantic roles & 50–950 ramp
primary
#405CB0
secondary
#C3B489
accent
#B551D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82