#405AC1#405AC1
#405AC1 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.164 H 269.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #405AC1 |
|---|---|
| RGB | rgb(64, 90, 193) |
| HSL | hsl(228, 51%, 50%) |
| HSV | hsv(228, 67%, 76%) |
| CMYK | cmyk(66.8%, 53.4%, 0%, 24.3%) |
| CIE-LAB | lab(41.61, 24.21, -56.99) |
| CIE-LCH | lch(41.61, 61.92, 293.02°) |
| OKLab | oklab(50.57% -0.0025 -0.1638) |
| OKLCH | oklch(50.57% 0.164 269.1) |
| XYZ | xyz(15.3929, 12.2511, 51.9952) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.43
Sapphire
#0F52BA
ΔE00 4.76
Azul
#1D5DEC
ΔE00 5.39
Denim
#1560BD
ΔE00 5.86
Iris
#6258C4
ΔE00 6.07
Royal Blue
#4169E1
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AC1 #C1A740
analogous
#409AC1 #405AC1 #6640C1
triadic
#405AC1 #C1405A #5AC140
tetradic
#405AC1 #C1409A #C1A740 #40C166
square
#405AC1 #C1409A #C1A740 #40C166
split-complementary
#405AC1 #C16640 #9AC140
monochromatic
#212F66 #304494 #405AC1 #6E82D0 #9CAADF
Accessibility & contrast
On white
6.09
#405AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#405AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AC1
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AC1 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #405ac1; /* rgb */ color: rgb(64, 90, 193); /* oklch */ color: oklch(50.6% 0.164 269.1);
Tailwind
colors: {
custom: {
50: '#8388d4',
500: '#405ac1',
950: '#000000',
},
}SCSS
$custom: #405ac1; $custom-light: #8388d4; $custom-dark: #000000;
JSON
{
"hex": "#405ac1",
"rgb": {
"r": 64,
"g": 90,
"b": 193
},
"hsl": {
"h": 227.907,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.50571,
"c": 0.16379,
"h": 269.1
},
"luminance": 0.12253
}Semantic roles & 50–950 ramp
primary
#405AC1
secondary
#CBC092
accent
#BE4DDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83