#405BB6#405BB6
#405BB6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.147 H 268.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #405BB6 |
|---|---|
| RGB | rgb(64, 91, 182) |
| HSL | hsl(226, 48%, 48%) |
| HSV | hsv(226, 65%, 71%) |
| CMYK | cmyk(64.8%, 50%, 0%, 28.6%) |
| CIE-LAB | lab(41.13, 19.64, -51.35) |
| CIE-LCH | lch(41.13, 54.97, 290.93°) |
| OKLab | oklab(49.97% -0.0045 -0.1471) |
| OKLCH | oklch(49.97% 0.147 268.3) |
| XYZ | xyz(14.2961, 11.9483, 45.7998) |
| Luminance | 0.1195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.51
Dusky Blue
#475F94
ΔE00 5.08
Denim Blue
#3B5B92
ΔE00 5.13
Denim
#1560BD
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 5.99
French Blue
#436BAD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405BB6 #B69B40
analogous
#4096B6 #405BB6 #6040B6
triadic
#405BB6 #B6405B #5BB640
tetradic
#405BB6 #B64096 #B69B40 #40B660
square
#405BB6 #B64096 #B69B40 #40B660
split-complementary
#405BB6 #B66040 #96B640
monochromatic
#202E5B #304489 #405BB6 #697FCA #96A6DA
Accessibility & contrast
On white
6.19
#405BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#405BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405BB6
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405BB6 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2967B9
Deuteranopia (green-blind)
#075CB4
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405bb6; /* rgb */ color: rgb(64, 91, 182); /* oklch */ color: oklch(50.0% 0.147 268.3);
Tailwind
colors: {
custom: {
50: '#8189cc',
500: '#405bb6',
950: '#000000',
},
}SCSS
$custom: #405bb6; $custom-light: #8189cc; $custom-dark: #000000;
JSON
{
"hex": "#405bb6",
"rgb": {
"r": 64,
"g": 91,
"b": 182
},
"hsl": {
"h": 226.271,
"s": 47.967,
"l": 48.235
},
"oklch": {
"l": 0.4997,
"c": 0.14721,
"h": 268.3
},
"luminance": 0.1195
}Semantic roles & 50–950 ramp
primary
#405BB6
secondary
#C6B98C
accent
#B950D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B13
muted
#7C7C82