#405CB1#405CB1
#405CB1 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.139 H 267.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #405CB1 |
|---|---|
| RGB | rgb(64, 92, 177) |
| HSL | hsl(225, 47%, 47%) |
| HSV | hsv(225, 64%, 69%) |
| CMYK | cmyk(63.8%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(41.08, 17.21, -48.49) |
| CIE-LCH | lch(41.08, 51.45, 289.54°) |
| OKLab | oklab(49.83% -0.0061 -0.1387) |
| OKLCH | oklch(49.83% 0.139 267.5) |
| XYZ | xyz(13.8746, 11.9174, 43.1556) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.35
Denim Blue
#3B5B92
ΔE00 4.41
Sapphire
#0F52BA
ΔE00 4.66
Denim
#1560BD
ΔE00 5.01
French Blue
#436BAD
ΔE00 5.51
Denim (survey)
#3B638C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CB1 #B19540
analogous
#4094B1 #405CB1 #5D40B1
triadic
#405CB1 #B1405C #5CB140
tetradic
#405CB1 #B14094 #B19540 #40B15D
square
#405CB1 #B14094 #B19540 #40B15D
split-complementary
#405CB1 #B15D40 #94B140
monochromatic
#1F2D57 #304584 #405CB1 #667FC8 #93A4D8
Accessibility & contrast
On white
6.21
#405CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#405CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CB1
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CB1 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3166B4
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405cb1; /* rgb */ color: rgb(64, 92, 177); /* oklch */ color: oklch(49.8% 0.139 267.5);
Tailwind
colors: {
custom: {
50: '#8089c9',
500: '#405cb1',
950: '#000000',
},
}SCSS
$custom: #405cb1; $custom-light: #8089c9; $custom-dark: #000000;
JSON
{
"hex": "#405cb1",
"rgb": {
"r": 64,
"g": 92,
"b": 177
},
"hsl": {
"h": 225.133,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.49829,
"c": 0.13885,
"h": 267.5
},
"luminance": 0.11919
}Semantic roles & 50–950 ramp
primary
#405CB1
secondary
#C3B589
accent
#B651D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82