#405CB2#405CB2
#405CB2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.140 H 267.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #405CB2 |
|---|---|
| RGB | rgb(64, 92, 178) |
| HSL | hsl(225, 47%, 47%) |
| HSV | hsv(225, 64%, 70%) |
| CMYK | cmyk(64%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(41.15, 17.57, -48.98) |
| CIE-LCH | lch(41.15, 52.03, 289.74°) |
| OKLab | oklab(49.9% -0.006 -0.1401) |
| OKLCH | oklch(49.9% 0.14 267.6) |
| XYZ | xyz(13.9746, 11.9574, 43.6824) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 4.47
Denim Blue
#3B5B92
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.64
Denim
#1560BD
ΔE00 5.01
French Blue
#436BAD
ΔE00 5.53
Denim (survey)
#3B638C
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405CB2 #B29640
analogous
#4095B2 #405CB2 #5D40B2
triadic
#405CB2 #B2405C #5CB240
tetradic
#405CB2 #B24095 #B29640 #40B25D
square
#405CB2 #B24095 #B29640 #40B25D
split-complementary
#405CB2 #B25D40 #95B240
monochromatic
#202D58 #304585 #405CB2 #677FC8 #94A5D8
Accessibility & contrast
On white
6.19
#405CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#405CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #405CB2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405CB2 | 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)
#3066B5
Deuteranopia (green-blind)
#195CB0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #405cb2; /* rgb */ color: rgb(64, 92, 178); /* oklch */ color: oklch(49.9% 0.140 267.6);
Tailwind
colors: {
custom: {
50: '#8089c9',
500: '#405cb2',
950: '#000000',
},
}SCSS
$custom: #405cb2; $custom-light: #8089c9; $custom-dark: #000000;
JSON
{
"hex": "#405cb2",
"rgb": {
"r": 64,
"g": 92,
"b": 178
},
"hsl": {
"h": 225.263,
"s": 47.107,
"l": 47.451
},
"oklch": {
"l": 0.49898,
"c": 0.14028,
"h": 267.6
},
"luminance": 0.11959
}Semantic roles & 50–950 ramp
primary
#405CB2
secondary
#C4B68A
accent
#B651D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82