#405AB0#405AB0
#405AB0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.140 H 268.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #405AB0 |
|---|---|
| RGB | rgb(64, 90, 176) |
| HSL | hsl(226, 47%, 47%) |
| HSV | hsv(226, 64%, 69%) |
| CMYK | cmyk(63.6%, 48.9%, 0%, 31%) |
| CIE-LAB | lab(40.47, 18.15, -48.89) |
| CIE-LCH | lch(40.47, 52.15, 290.36°) |
| OKLab | oklab(49.34% -0.0042 -0.1399) |
| OKLCH | oklch(49.34% 0.14 268.3) |
| XYZ | xyz(13.6043, 11.5357, 42.5756) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.45
Denim Blue
#3B5B92
ΔE00 4.47
Dusky Blue
#475F94
ΔE00 4.50
Denim
#1560BD
ΔE00 5.50
French Blue
#436BAD
ΔE00 6.21
Denim (survey)
#3B638C
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AB0 #B09640
analogous
#4092B0 #405AB0 #5E40B0
triadic
#405AB0 #B0405A #5AB040
tetradic
#405AB0 #B04092 #B09640 #40B05E
square
#405AB0 #B04092 #B09640 #40B05E
split-complementary
#405AB0 #B05E40 #92B040
monochromatic
#1F2C56 #304383 #405AB0 #667DC7 #93A3D8
Accessibility & contrast
On white
6.35
#405AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#405AB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AB0
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AB0 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#165BAE
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #405ab0; /* rgb */ color: rgb(64, 90, 176); /* oklch */ color: oklch(49.3% 0.140 268.3);
Tailwind
colors: {
custom: {
50: '#8088c8',
500: '#405ab0',
950: '#000000',
},
}SCSS
$custom: #405ab0; $custom-light: #8088c8; $custom-dark: #000000;
JSON
{
"hex": "#405ab0",
"rgb": {
"r": 64,
"g": 90,
"b": 176
},
"hsl": {
"h": 226.071,
"s": 46.667,
"l": 47.059
},
"oklch": {
"l": 0.49339,
"c": 0.13999,
"h": 268.3
},
"luminance": 0.11537
}Semantic roles & 50–950 ramp
primary
#405AB0
secondary
#C3B589
accent
#B751D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82