#406FDA#406FDA
#406FDA is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.6% C 0.172 H 263.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #406FDA |
|---|---|
| RGB | rgb(64, 111, 218) |
| HSL | hsl(222, 68%, 55%) |
| HSV | hsv(222, 71%, 85%) |
| CMYK | cmyk(70.6%, 49.1%, 0%, 14.5%) |
| CIE-LAB | lab(48.91, 19.83, -59.56) |
| CIE-LCH | lch(48.91, 62.78, 288.42°) |
| OKLab | oklab(56.64% -0.0183 -0.171) |
| OKLCH | oklch(56.64% 0.172 263.9) |
| XYZ | xyz(20.4492, 17.5187, 68.6198) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.22
Royal Blue
#4169E1
ΔE00 2.48
Cerulean Blue
#056EEE
ΔE00 3.01
Deep Sky Blue
#0D75F8
ΔE00 4.38
Bright Blue
#0165FC
ΔE00 4.70
French Blue
#436BAD
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406FDA #DAAB40
analogous
#40BCDA #406FDA #5E40DA
triadic
#406FDA #DA406F #6FDA40
tetradic
#406FDA #DA40BC #DAAB40 #40DA5E
square
#406FDA #DA40BC #DAAB40 #40DA5E
split-complementary
#406FDA #DA5E40 #BCDA40
monochromatic
#1A3B86 #2451B9 #406FDA #7396E4 #A7BCEE
Accessibility & contrast
On white
4.66
#406FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#406FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #406FDA
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406FDA | 1.00 | 4.66 | 4.50 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#00889A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #406fda; /* rgb */ color: rgb(64, 111, 218); /* oklch */ color: oklch(56.6% 0.172 263.9);
Tailwind
colors: {
custom: {
50: '#8797e6',
500: '#406fda',
950: '#000000',
},
}SCSS
$custom: #406fda; $custom-light: #8797e6; $custom-dark: #000000;
JSON
{
"hex": "#406fda",
"rgb": {
"r": 64,
"g": 111,
"b": 218
},
"hsl": {
"h": 221.688,
"s": 67.544,
"l": 55.294
},
"oklch": {
"l": 0.56641,
"c": 0.17198,
"h": 263.9
},
"luminance": 0.17521
}Semantic roles & 50–950 ramp
primary
#406FDA
secondary
#DBC79B
accent
#B63DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84