#406BE3#406BE3
#406BE3 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.5% C 0.189 H 265.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #406BE3 |
|---|---|
| RGB | rgb(64, 107, 227) |
| HSL | hsl(224, 74%, 57%) |
| HSV | hsv(224, 72%, 89%) |
| CMYK | cmyk(71.8%, 52.9%, 0%, 11%) |
| CIE-LAB | lab(48.45, 25.59, -65.39) |
| CIE-LCH | lch(48.45, 70.22, 291.37°) |
| OKLab | oklab(56.48% -0.0141 -0.1882) |
| OKLCH | oklch(56.48% 0.189 265.7) |
| XYZ | xyz(21.2323, 17.1492, 74.8493) |
| Luminance | 0.1715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 0.77
Cornflower Blue
#5170D7
ΔE00 2.49
Bright Blue
#0165FC
ΔE00 3.37
Cerulean Blue
#056EEE
ΔE00 3.57
Azul
#1D5DEC
ΔE00 4.72
Deep Sky Blue
#0D75F8
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406BE3 #E3B840
analogous
#40BCE3 #406BE3 #6740E3
triadic
#406BE3 #E3406B #6BE340
tetradic
#406BE3 #E340BC #E3B840 #40E367
square
#406BE3 #E340BC #E3B840 #40E367
split-complementary
#406BE3 #E36740 #BCE340
monochromatic
#163793 #1D4BC8 #406BE3 #7594EB #ABBEF3
Accessibility & contrast
On white
4.74
#406BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#406BE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406BE3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406BE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406BE3 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#107BE7
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#00889D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #406be3; /* rgb */ color: rgb(64, 107, 227); /* oklch */ color: oklch(56.5% 0.189 265.7);
Tailwind
colors: {
custom: {
50: '#8994ed',
500: '#406be3',
950: '#000000',
},
}SCSS
$custom: #406be3; $custom-light: #8994ed; $custom-dark: #000000;
JSON
{
"hex": "#406be3",
"rgb": {
"r": 64,
"g": 107,
"b": 227
},
"hsl": {
"h": 224.172,
"s": 74.429,
"l": 57.059
},
"oklch": {
"l": 0.56484,
"c": 0.18876,
"h": 265.7
},
"luminance": 0.17151
}Semantic roles & 50–950 ramp
primary
#406BE3
secondary
#E1CF9E
accent
#C037F1
background
#F9F9FE
surface
#F1F1FD
border
#CBCBD5
text
#0D0D16
muted
#7E7E84