#406FE3#406FE3
#406FE3 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.3% C 0.184 H 264.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #406FE3 |
|---|---|
| RGB | rgb(64, 111, 227) |
| HSL | hsl(223, 74%, 57%) |
| HSV | hsv(223, 72%, 89%) |
| CMYK | cmyk(71.8%, 51.1%, 0%, 11%) |
| CIE-LAB | lab(49.50, 23.08, -63.69) |
| CIE-LCH | lch(49.50, 67.74, 289.92°) |
| OKLab | oklab(57.28% -0.0172 -0.1832) |
| OKLCH | oklch(57.28% 0.184 264.6) |
| XYZ | xyz(21.6590, 18.0026, 74.9915) |
| Luminance | 0.1800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.19
Cornflower Blue
#5170D7
ΔE00 2.19
Cerulean Blue
#056EEE
ΔE00 2.96
Deep Sky Blue
#0D75F8
ΔE00 4.01
Bright Blue
#0165FC
ΔE00 4.11
Lightish Blue
#3D7AFD
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FE3 #E3B440
analogous
#40C1E3 #406FE3 #6240E3
triadic
#406FE3 #E3406F #6FE340
tetradic
#406FE3 #E340C1 #E3B440 #40E362
square
#406FE3 #E340C1 #E3B440 #40E362
split-complementary
#406FE3 #E36240 #C1E340
monochromatic
#163A93 #1D4FC8 #406FE3 #7597EB #ABBFF3
Accessibility & contrast
On white
4.56
#406FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#406FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #406FE3
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##406FE3 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #406fe3; /* rgb */ color: rgb(64, 111, 227); /* oklch */ color: oklch(57.3% 0.184 264.6);
Tailwind
colors: {
custom: {
50: '#8997ed',
500: '#406fe3',
950: '#000000',
},
}SCSS
$custom: #406fe3; $custom-light: #8997ed; $custom-dark: #000000;
JSON
{
"hex": "#406fe3",
"rgb": {
"r": 64,
"g": 111,
"b": 227
},
"hsl": {
"h": 222.699,
"s": 74.429,
"l": 57.059
},
"oklch": {
"l": 0.57281,
"c": 0.18397,
"h": 264.6
},
"luminance": 0.18005
}Semantic roles & 50–950 ramp
primary
#406FE3
secondary
#E1CD9E
accent
#BB37F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84