#405BB1#405BB1
#405BB1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.140 H 267.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #405BB1 |
|---|---|
| RGB | rgb(64, 91, 177) |
| HSL | hsl(226, 47%, 47%) |
| HSV | hsv(226, 64%, 69%) |
| CMYK | cmyk(63.8%, 48.6%, 0%, 30.6%) |
| CIE-LAB | lab(40.81, 17.86, -48.93) |
| CIE-LCH | lch(40.81, 52.09, 290.05°) |
| OKLab | oklab(49.62% -0.0051 -0.14) |
| OKLCH | oklch(49.62% 0.14 267.9) |
| XYZ | xyz(13.7885, 11.7453, 43.1269) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.47
Denim Blue
#3B5B92
ΔE00 4.49
Sapphire
#0F52BA
ΔE00 4.53
Denim
#1560BD
ΔE00 5.25
French Blue
#436BAD
ΔE00 5.87
Denim (survey)
#3B638C
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BB1 #B19640
analogous
#4093B1 #405BB1 #5E40B1
triadic
#405BB1 #B1405B #5BB140
tetradic
#405BB1 #B14093 #B19640 #40B15E
square
#405BB1 #B14093 #B19640 #40B15E
split-complementary
#405BB1 #B15E40 #93B140
monochromatic
#1F2D57 #304484 #405BB1 #667EC8 #93A4D8
Accessibility & contrast
On white
6.27
#405BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#405BB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BB1
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BB1 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#175BAF
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #405bb1; /* rgb */ color: rgb(64, 91, 177); /* oklch */ color: oklch(49.6% 0.140 267.9);
Tailwind
colors: {
custom: {
50: '#8089c9',
500: '#405bb1',
950: '#000000',
},
}SCSS
$custom: #405bb1; $custom-light: #8089c9; $custom-dark: #000000;
JSON
{
"hex": "#405bb1",
"rgb": {
"r": 64,
"g": 91,
"b": 177
},
"hsl": {
"h": 225.664,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.49618,
"c": 0.14013,
"h": 267.9
},
"luminance": 0.11746
}Semantic roles & 50–950 ramp
primary
#405BB1
secondary
#C3B689
accent
#B751D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82