#5662E4#5662E4
#5662E4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.0% C 0.195 H 274.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5662E4 |
|---|---|
| RGB | rgb(86, 98, 228) |
| HSL | hsl(235, 72%, 62%) |
| HSV | hsv(235, 62%, 89%) |
| CMYK | cmyk(62.3%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(47.38, 34.74, -67.63) |
| CIE-LCH | lch(47.38, 76.03, 297.19°) |
| OKLab | oklab(56.01% 0.0145 -0.1945) |
| OKLCH | oklch(56.01% 0.195 274.2) |
| XYZ | xyz(22.2044, 16.3134, 75.3624) |
| Luminance | 0.1631 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 3.87
Royal Blue
#4169E1
ΔE00 4.20
Azul
#1D5DEC
ΔE00 4.95
Slate Blue
#6A5ACD
ΔE00 5.44
Cornflower Blue
#5170D7
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662E4 #E4D856
analogous
#56A9E4 #5662E4 #9156E4
triadic
#5662E4 #E45662 #62E456
tetradic
#5662E4 #E456A9 #E4D856 #56E491
square
#5662E4 #E456A9 #E4D856 #56E491
split-complementary
#5662E4 #E49156 #A9E456
monochromatic
#1A26A5 #2332DA #5662E4 #8B93EC #C0C4F5
Accessibility & contrast
On white
4.93
#5662E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#5662E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662E4
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662E4 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5662e4; /* rgb */ color: rgb(86, 98, 228); /* oklch */ color: oklch(56.0% 0.195 274.2);
Tailwind
colors: {
custom: {
50: '#938eed',
500: '#5662e4',
950: '#000000',
},
}SCSS
$custom: #5662e4; $custom-light: #938eed; $custom-dark: #000000;
JSON
{
"hex": "#5662e4",
"rgb": {
"r": 86,
"g": 98,
"b": 228
},
"hsl": {
"h": 234.93,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.56012,
"c": 0.195,
"h": 274.2
},
"luminance": 0.16315
}Semantic roles & 50–950 ramp
primary
#5662E4
secondary
#E5E1B0
accent
#C411D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84