#405AC9#405AC9
#405AC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.175 H 269.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #405AC9 |
|---|---|
| RGB | rgb(64, 90, 201) |
| HSL | hsl(229, 56%, 52%) |
| HSV | hsv(229, 68%, 79%) |
| CMYK | cmyk(68.2%, 55.2%, 0%, 21.2%) |
| CIE-LAB | lab(42.18, 27.06, -60.71) |
| CIE-LCH | lch(42.18, 66.47, 294.03°) |
| OKLab | oklab(51.18% -0.002 -0.1747) |
| OKLCH | oklch(51.18% 0.175 269.3) |
| XYZ | xyz(16.3095, 12.6178, 56.8230) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.44
Azul
#1D5DEC
ΔE00 4.51
Sapphire
#0F52BA
ΔE00 5.29
Iris
#6258C4
ΔE00 5.78
Royal Blue
#4169E1
ΔE00 5.91
Dark Periwinkle
#665FD1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405AC9 #C9AF40
analogous
#409FC9 #405AC9 #6B40C9
triadic
#405AC9 #C9405A #5AC940
tetradic
#405AC9 #C9409F #C9AF40 #40C96B
square
#405AC9 #C9409F #C9AF40 #40C96B
split-complementary
#405AC9 #C96B40 #9FC940
monochromatic
#1F2F6F #2D439F #405AC9 #7083D6 #9FACE4
Accessibility & contrast
On white
5.96
#405AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#405AC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405AC9
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405AC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405AC9 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #405ac9; /* rgb */ color: rgb(64, 90, 201); /* oklch */ color: oklch(51.2% 0.175 269.3);
Tailwind
colors: {
custom: {
50: '#8588da',
500: '#405ac9',
950: '#000000',
},
}SCSS
$custom: #405ac9; $custom-light: #8588da; $custom-dark: #000000;
JSON
{
"hex": "#405ac9",
"rgb": {
"r": 64,
"g": 90,
"b": 201
},
"hsl": {
"h": 228.613,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.51179,
"c": 0.17471,
"h": 269.3
},
"luminance": 0.12619
}Semantic roles & 50–950 ramp
primary
#405AC9
secondary
#D0C594
accent
#C349DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83