#405FC9#405FC9
#405FC9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.169 H 267.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #405FC9 |
|---|---|
| RGB | rgb(64, 95, 201) |
| HSL | hsl(226, 56%, 52%) |
| HSV | hsv(226, 68%, 79%) |
| CMYK | cmyk(68.2%, 52.7%, 0%, 21.2%) |
| CIE-LAB | lab(43.49, 23.87, -58.59) |
| CIE-LCH | lch(43.49, 63.26, 292.17°) |
| OKLab | oklab(52.17% -0.0063 -0.1684) |
| OKLCH | oklch(52.17% 0.169 267.9) |
| XYZ | xyz(16.7455, 13.4898, 56.9683) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.22
Warm Blue
#4B57DB
ΔE00 4.48
Royal Blue
#4169E1
ΔE00 4.57
Denim
#1560BD
ΔE00 5.35
French Blue
#436BAD
ΔE00 5.75
Sapphire
#0F52BA
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405FC9 #C9AA40
analogous
#40A4C9 #405FC9 #6640C9
triadic
#405FC9 #C9405F #5FC940
tetradic
#405FC9 #C940A4 #C9AA40 #40C966
square
#405FC9 #C940A4 #C9AA40 #40C966
split-complementary
#405FC9 #C96640 #A4C940
monochromatic
#1F316F #2D479F #405FC9 #7087D6 #9FAFE4
Accessibility & contrast
On white
5.68
#405FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#405FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405FC9
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405FC9 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176DCD
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #405fc9; /* rgb */ color: rgb(64, 95, 201); /* oklch */ color: oklch(52.2% 0.169 267.9);
Tailwind
colors: {
custom: {
50: '#848cda',
500: '#405fc9',
950: '#000000',
},
}SCSS
$custom: #405fc9; $custom-light: #848cda; $custom-dark: #000000;
JSON
{
"hex": "#405fc9",
"rgb": {
"r": 64,
"g": 95,
"b": 201
},
"hsl": {
"h": 226.423,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.52166,
"c": 0.16851,
"h": 267.9
},
"luminance": 0.13491
}Semantic roles & 50–950 ramp
primary
#405FC9
secondary
#D0C394
accent
#BD49DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83