#405BCA#405BCA
#405BCA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.175 H 269.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #405BCA |
|---|---|
| RGB | rgb(64, 91, 202) |
| HSL | hsl(228, 57%, 52%) |
| HSV | hsv(228, 68%, 79%) |
| CMYK | cmyk(68.3%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(42.51, 26.78, -60.75) |
| CIE-LCH | lch(42.51, 66.39, 293.79°) |
| OKLab | oklab(51.45% -0.0028 -0.1748) |
| OKLCH | oklch(51.45% 0.175 269.1) |
| XYZ | xyz(16.5125, 12.8348, 57.4728) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.49
Azul
#1D5DEC
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 5.44
Royal Blue
#4169E1
ΔE00 5.56
Iris
#6258C4
ΔE00 5.90
Denim
#1560BD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BCA #CAAF40
analogous
#40A0CA #405BCA #6A40CA
triadic
#405BCA #CA405B #5BCA40
tetradic
#405BCA #CA40A0 #CAAF40 #40CA6A
square
#405BCA #CA40A0 #CAAF40 #40CA6A
split-complementary
#405BCA #CA6A40 #A0CA40
monochromatic
#1F2F70 #2C43A0 #405BCA #7084D7 #A0ADE5
Accessibility & contrast
On white
5.89
#405BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#405BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BCA
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BCA | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #405bca; /* rgb */ color: rgb(64, 91, 202); /* oklch */ color: oklch(51.5% 0.175 269.1);
Tailwind
colors: {
custom: {
50: '#8589db',
500: '#405bca',
950: '#000000',
},
}SCSS
$custom: #405bca; $custom-light: #8589db; $custom-dark: #000000;
JSON
{
"hex": "#405bca",
"rgb": {
"r": 64,
"g": 91,
"b": 202
},
"hsl": {
"h": 228.261,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.51451,
"c": 0.17482,
"h": 269.1
},
"luminance": 0.12836
}Semantic roles & 50–950 ramp
primary
#405BCA
secondary
#D1C595
accent
#C248E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83