#405FCA#405FCA
#405FCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.170 H 267.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #405FCA |
|---|---|
| RGB | rgb(64, 95, 202) |
| HSL | hsl(227, 57%, 52%) |
| HSV | hsv(227, 68%, 79%) |
| CMYK | cmyk(68.3%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(43.56, 24.23, -59.05) |
| CIE-LCH | lch(43.56, 63.83, 292.31°) |
| OKLab | oklab(52.24% -0.0062 -0.1698) |
| OKLCH | oklch(52.24% 0.17 267.9) |
| XYZ | xyz(16.8636, 13.5370, 57.5899) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.10
Warm Blue
#4B57DB
ΔE00 4.38
Royal Blue
#4169E1
ΔE00 4.48
Denim
#1560BD
ΔE00 5.43
French Blue
#436BAD
ΔE00 5.83
Sapphire
#0F52BA
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405FCA #CAAB40
analogous
#40A4CA #405FCA #6640CA
triadic
#405FCA #CA405F #5FCA40
tetradic
#405FCA #CA40A4 #CAAB40 #40CA66
square
#405FCA #CA40A4 #CAAB40 #40CA66
split-complementary
#405FCA #CA6640 #A4CA40
monochromatic
#1F3170 #2C47A0 #405FCA #7087D7 #A0AFE5
Accessibility & contrast
On white
5.66
#405FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#405FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405FCA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405FCA | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #405fca; /* rgb */ color: rgb(64, 95, 202); /* oklch */ color: oklch(52.2% 0.170 267.9);
Tailwind
colors: {
custom: {
50: '#858cdb',
500: '#405fca',
950: '#000000',
},
}SCSS
$custom: #405fca; $custom-light: #858cdb; $custom-dark: #000000;
JSON
{
"hex": "#405fca",
"rgb": {
"r": 64,
"g": 95,
"b": 202
},
"hsl": {
"h": 226.522,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.52241,
"c": 0.16986,
"h": 267.9
},
"luminance": 0.13539
}Semantic roles & 50–950 ramp
primary
#405FCA
secondary
#D1C395
accent
#BE48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83