#405CB3#405CB3
#405CB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.142 H 267.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #405CB3 |
|---|---|
| RGB | rgb(64, 92, 179) |
| HSL | hsl(225, 47%, 48%) |
| HSV | hsv(225, 64%, 70%) |
| CMYK | cmyk(64.2%, 48.6%, 0%, 29.8%) |
| CIE-LAB | lab(41.21, 17.93, -49.46) |
| CIE-LCH | lch(41.21, 52.61, 289.92°) |
| OKLab | oklab(49.97% -0.0058 -0.1416) |
| OKLCH | oklch(49.97% 0.142 267.6) |
| XYZ | xyz(14.0754, 11.9977, 44.2131) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.60
Sapphire
#0F52BA
ΔE00 4.63
Denim Blue
#3B5B92
ΔE00 4.67
Denim
#1560BD
ΔE00 5.01
French Blue
#436BAD
ΔE00 5.56
Denim (survey)
#3B638C
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CB3 #B39740
analogous
#4096B3 #405CB3 #5D40B3
triadic
#405CB3 #B3405C #5CB340
tetradic
#405CB3 #B34096 #B39740 #40B35D
square
#405CB3 #B34096 #B39740 #40B35D
split-complementary
#405CB3 #B35D40 #96B340
monochromatic
#202E59 #304586 #405CB3 #677FC9 #94A5D9
Accessibility & contrast
On white
6.18
#405CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#405CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CB3
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CB3 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405cb3; /* rgb */ color: rgb(64, 92, 179); /* oklch */ color: oklch(50.0% 0.142 267.6);
Tailwind
colors: {
custom: {
50: '#8089ca',
500: '#405cb3',
950: '#000000',
},
}SCSS
$custom: #405cb3; $custom-light: #8089ca; $custom-dark: #000000;
JSON
{
"hex": "#405cb3",
"rgb": {
"r": 64,
"g": 92,
"b": 179
},
"hsl": {
"h": 225.391,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.49967,
"c": 0.14169,
"h": 267.6
},
"luminance": 0.11999
}Semantic roles & 50–950 ramp
primary
#405CB3
secondary
#C4B68A
accent
#B651D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82