#5662E5#5662E5
#5662E5 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.196 H 274.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5662E5 |
|---|---|
| RGB | rgb(86, 98, 229) |
| HSL | hsl(235, 73%, 62%) |
| HSV | hsv(235, 62%, 90%) |
| CMYK | cmyk(62.4%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(47.46, 35.07, -68.08) |
| CIE-LCH | lch(47.46, 76.58, 297.26°) |
| OKLab | oklab(56.09% 0.0145 -0.1958) |
| OKLCH | oklch(56.09% 0.196 274.2) |
| XYZ | xyz(22.3436, 16.3691, 76.0956) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.85
Warm Blue
#4B57DB
ΔE00 3.92
Royal Blue
#4169E1
ΔE00 4.23
Azul
#1D5DEC
ΔE00 4.96
Cornflower Blue
#5170D7
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662E5 #E5D956
analogous
#56AAE5 #5662E5 #9256E5
triadic
#5662E5 #E55662 #62E556
tetradic
#5662E5 #E556AA #E5D956 #56E592
square
#5662E5 #E556AA #E5D956 #56E592
split-complementary
#5662E5 #E59256 #AAE556
monochromatic
#1A26A7 #2231DC #5662E5 #8B93ED #C0C5F5
Accessibility & contrast
On white
4.91
#5662E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#5662E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662E5
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662E5 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5662e5; /* rgb */ color: rgb(86, 98, 229); /* oklch */ color: oklch(56.1% 0.196 274.2);
Tailwind
colors: {
custom: {
50: '#948eee',
500: '#5662e5',
950: '#000000',
},
}SCSS
$custom: #5662e5; $custom-light: #948eee; $custom-dark: #000000;
JSON
{
"hex": "#5662e5",
"rgb": {
"r": 86,
"g": 98,
"b": 229
},
"hsl": {
"h": 234.965,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.56088,
"c": 0.19631,
"h": 274.2
},
"luminance": 0.16371
}Semantic roles & 50–950 ramp
primary
#5662E5
secondary
#E6E1B1
accent
#C510D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84