#405ABF#405ABF
#405ABF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.161 H 269.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #405ABF |
|---|---|
| RGB | rgb(64, 90, 191) |
| HSL | hsl(228, 50%, 50%) |
| HSV | hsv(228, 66%, 75%) |
| CMYK | cmyk(66.5%, 52.9%, 0%, 25.1%) |
| CIE-LAB | lab(41.47, 23.50, -56.06) |
| CIE-LCH | lch(41.47, 60.78, 292.74°) |
| OKLab | oklab(50.42% -0.0027 -0.161) |
| OKLCH | oklch(50.42% 0.161 269) |
| XYZ | xyz(15.1713, 12.1625, 50.8282) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.66
Warm Blue
#4B57DB
ΔE00 4.69
Azul
#1D5DEC
ΔE00 5.63
Denim
#1560BD
ΔE00 5.77
Iris
#6258C4
ΔE00 6.17
Dusky Blue
#475F94
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405ABF #BFA540
analogous
#4099BF #405ABF #6640BF
triadic
#405ABF #BF405A #5ABF40
tetradic
#405ABF #BF4099 #BFA540 #40BF66
square
#405ABF #BF4099 #BFA540 #40BF66
split-complementary
#405ABF #BF6640 #99BF40
monochromatic
#212F63 #314491 #405ABF #6E82CE #9CA9DE
Accessibility & contrast
On white
6.12
#405ABF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#405ABF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405ABF
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405ABF | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #405abf; /* rgb */ color: rgb(64, 90, 191); /* oklch */ color: oklch(50.4% 0.161 269.0);
Tailwind
colors: {
custom: {
50: '#8388d3',
500: '#405abf',
950: '#000000',
},
}SCSS
$custom: #405abf; $custom-light: #8388d3; $custom-dark: #000000;
JSON
{
"hex": "#405abf",
"rgb": {
"r": 64,
"g": 90,
"b": 191
},
"hsl": {
"h": 227.717,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.50421,
"c": 0.16103,
"h": 269
},
"luminance": 0.12164
}Semantic roles & 50–950 ramp
primary
#405ABF
secondary
#CABE91
accent
#BD4ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83