#408AFF#408AFF
#408AFF is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.7% C 0.189 H 259.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #408AFF |
|---|---|
| RGB | rgb(64, 138, 255) |
| HSL | hsl(217, 100%, 63%) |
| HSV | hsv(217, 75%, 100%) |
| CMYK | cmyk(74.9%, 45.9%, 0%, 0%) |
| CIE-LAB | lab(58.49, 16.47, -64.77) |
| CIE-LCH | lch(58.49, 66.83, 284.26°) |
| OKLab | oklab(64.73% -0.035 -0.1859) |
| OKLCH | oklch(64.73% 0.189 259.3) |
| XYZ | xyz(29.2463, 26.4836, 98.1588) |
| Luminance | 0.2649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.68
Dark Sky Blue
#448EE4
ΔE00 3.43
Dodgerblue
#1E90FF
ΔE00 3.82
Azure
#007FFF
ΔE00 3.93
Cornflowerblue
#6495ED
ΔE00 4.16
Soft Blue
#6488EA
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408AFF #FFB540
analogous
#40E9FF #408AFF #5640FF
triadic
#408AFF #FF408A #8AFF40
tetradic
#408AFF #FF40E9 #FFB540 #40FF56
square
#408AFF #FF40E9 #FFB540 #40FF56
split-complementary
#408AFF #FF5640 #E9FF40
monochromatic
#004CC5 #0365FF #408AFF #7DAFFF #BAD5FF
Accessibility & contrast
On white
3.33
#408AFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#408AFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408AFF
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408AFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408AFF | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#1985FD
Tritanopia (blue-blind)
#00A6B8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #408aff; /* rgb */ color: rgb(64, 138, 255); /* oklch */ color: oklch(64.7% 0.189 259.3);
Tailwind
colors: {
custom: {
50: '#8dabff',
500: '#408aff',
950: '#000000',
},
}SCSS
$custom: #408aff; $custom-light: #8dabff; $custom-dark: #000000;
JSON
{
"hex": "#408aff",
"rgb": {
"r": 64,
"g": 138,
"b": 255
},
"hsl": {
"h": 216.754,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.64731,
"c": 0.18912,
"h": 259.3
},
"luminance": 0.26487
}Semantic roles & 50–950 ramp
primary
#408AFF
secondary
#F0D5AB
accent
#8D00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1018
muted
#7E7F86