#406BE2#406BE2
#406BE2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.4% C 0.187 H 265.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #406BE2 |
|---|---|
| RGB | rgb(64, 107, 226) |
| HSL | hsl(224, 74%, 57%) |
| HSV | hsv(224, 72%, 89%) |
| CMYK | cmyk(71.7%, 52.7%, 0%, 11.4%) |
| CIE-LAB | lab(48.38, 25.23, -64.94) |
| CIE-LCH | lch(48.38, 69.67, 291.23°) |
| OKLab | oklab(56.41% -0.0141 -0.1869) |
| OKLCH | oklch(56.41% 0.187 265.7) |
| XYZ | xyz(21.0947, 17.0941, 74.1245) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 0.75
Cornflower Blue
#5170D7
ΔE00 2.46
Bright Blue
#0165FC
ΔE00 3.44
Cerulean Blue
#056EEE
ΔE00 3.56
Azul
#1D5DEC
ΔE00 4.73
Deep Sky Blue
#0D75F8
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BE2 #E2B740
analogous
#40BCE2 #406BE2 #6640E2
triadic
#406BE2 #E2406B #6BE240
tetradic
#406BE2 #E240BC #E2B740 #40E266
square
#406BE2 #E240BC #E2B740 #40E266
split-complementary
#406BE2 #E26640 #BCE240
monochromatic
#163792 #1E4BC7 #406BE2 #7594EA #AABDF2
Accessibility & contrast
On white
4.75
#406BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#406BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BE2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BE2 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#147BE6
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#00889C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #406be2; /* rgb */ color: rgb(64, 107, 226); /* oklch */ color: oklch(56.4% 0.187 265.7);
Tailwind
colors: {
custom: {
50: '#8994ec',
500: '#406be2',
950: '#000000',
},
}SCSS
$custom: #406be2; $custom-light: #8994ec; $custom-dark: #000000;
JSON
{
"hex": "#406be2",
"rgb": {
"r": 64,
"g": 107,
"b": 226
},
"hsl": {
"h": 224.074,
"s": 73.636,
"l": 56.863
},
"oklch": {
"l": 0.5641,
"c": 0.18743,
"h": 265.7
},
"luminance": 0.17096
}Semantic roles & 50–950 ramp
primary
#406BE2
secondary
#E0CE9E
accent
#BF38F0
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84