#407CE1#407CE1
#407CE1 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.166 H 260.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #407CE1 |
|---|---|
| RGB | rgb(64, 124, 225) |
| HSL | hsl(218, 73%, 57%) |
| HSV | hsv(218, 72%, 88%) |
| CMYK | cmyk(71.6%, 44.9%, 0%, 11.8%) |
| CIE-LAB | lab(52.88, 14.25, -57.12) |
| CIE-LCH | lch(52.88, 58.87, 284.01°) |
| OKLab | oklab(59.83% -0.0283 -0.1636) |
| OKLCH | oklch(59.83% 0.166 260.2) |
| XYZ | xyz(22.9077, 20.9391, 74.0539) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Clear Blue
#247AFD
ΔE00 2.74
Deep Sky Blue
#0D75F8
ΔE00 3.15
Lightish Blue
#3D7AFD
ΔE00 3.40
Azure
#007FFF
ΔE00 3.41
Dodger Blue
#3E82FC
ΔE00 3.56
Windows Blue
#3778BF
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#407CE1 #E1A540
analogous
#40CCE1 #407CE1 #5540E1
triadic
#407CE1 #E1407C #7CE140
tetradic
#407CE1 #E140CC #E1A540 #40E155
square
#407CE1 #E140CC #E1A540 #40E155
split-complementary
#407CE1 #E15540 #CCE140
monochromatic
#174490 #1F5DC5 #407CE1 #75A0E9 #AAC5F2
Accessibility & contrast
On white
4.05
#407CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#407CE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #407CE1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##407CE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##407CE1 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4886E5
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #407ce1; /* rgb */ color: rgb(64, 124, 225); /* oklch */ color: oklch(59.8% 0.166 260.2);
Tailwind
colors: {
custom: {
50: '#88a1eb',
500: '#407ce1',
950: '#000000',
},
}SCSS
$custom: #407ce1; $custom-light: #88a1eb; $custom-dark: #000000;
JSON
{
"hex": "#407ce1",
"rgb": {
"r": 64,
"g": 124,
"b": 225
},
"hsl": {
"h": 217.64,
"s": 72.851,
"l": 56.667
},
"oklch": {
"l": 0.5983,
"c": 0.16605,
"h": 260.2
},
"luminance": 0.20942
}Semantic roles & 50–950 ramp
primary
#407CE1
secondary
#DFC79D
accent
#AB38F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84