#405FB3#405FB3
#405FB3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.138 H 266.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #405FB3 |
|---|---|
| RGB | rgb(64, 95, 179) |
| HSL | hsl(224, 47%, 48%) |
| HSV | hsv(224, 64%, 70%) |
| CMYK | cmyk(64.2%, 46.9%, 0%, 29.8%) |
| CIE-LAB | lab(42.04, 16.00, -48.13) |
| CIE-LCH | lch(42.04, 50.72, 288.39°) |
| OKLab | oklab(50.6% -0.0088 -0.1376) |
| OKLCH | oklch(50.6% 0.138 266.3) |
| XYZ | xyz(14.3404, 12.5278, 44.3015) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.39
Dusky Blue
#475F94
ΔE00 4.41
French Blue
#436BAD
ΔE00 4.48
Denim Blue
#3B5B92
ΔE00 4.62
Sapphire
#0F52BA
ΔE00 5.15
Denim (survey)
#3B638C
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405FB3 #B39440
analogous
#4098B3 #405FB3 #5A40B3
triadic
#405FB3 #B3405F #5FB340
tetradic
#405FB3 #B34098 #B39440 #40B35A
square
#405FB3 #B34098 #B39440 #40B35A
split-complementary
#405FB3 #B35A40 #98B340
monochromatic
#202F59 #304786 #405FB3 #6782C9 #94A7D9
Accessibility & contrast
On white
5.99
#405FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#405FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405FB3
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405FB3 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#205EB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #405fb3; /* rgb */ color: rgb(64, 95, 179); /* oklch */ color: oklch(50.6% 0.138 266.3);
Tailwind
colors: {
custom: {
50: '#808cca',
500: '#405fb3',
950: '#000000',
},
}SCSS
$custom: #405fb3; $custom-light: #808cca; $custom-dark: #000000;
JSON
{
"hex": "#405fb3",
"rgb": {
"r": 64,
"g": 95,
"b": 179
},
"hsl": {
"h": 223.826,
"s": 47.325,
"l": 47.647
},
"oklch": {
"l": 0.50601,
"c": 0.13789,
"h": 266.3
},
"luminance": 0.12529
}Semantic roles & 50–950 ramp
primary
#405FB3
secondary
#C4B58A
accent
#B351D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82