#5663E5#5663E5
#5663E5 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.195 H 274.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5663E5 |
|---|---|
| RGB | rgb(86, 99, 229) |
| HSL | hsl(235, 73%, 62%) |
| HSV | hsv(235, 62%, 90%) |
| CMYK | cmyk(62.4%, 56.8%, 0%, 10.2%) |
| CIE-LAB | lab(47.70, 34.46, -67.69) |
| CIE-LCH | lch(47.70, 75.95, 296.98°) |
| OKLab | oklab(56.27% 0.0136 -0.1946) |
| OKLCH | oklch(56.27% 0.195 274) |
| XYZ | xyz(22.4378, 16.5574, 76.1270) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.00
Royal Blue
#4169E1
ΔE00 4.00
Warm Blue
#4B57DB
ΔE00 4.20
Azul
#1D5DEC
ΔE00 5.00
Cornflower Blue
#5170D7
ΔE00 5.20
Bright Blue
#0165FC
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5663E5 #E5D856
analogous
#56ABE5 #5663E5 #9056E5
triadic
#5663E5 #E55663 #63E556
tetradic
#5663E5 #E556AB #E5D856 #56E590
square
#5663E5 #E556AB #E5D856 #56E590
split-complementary
#5663E5 #E59056 #ABE556
monochromatic
#1A27A7 #2233DC #5663E5 #8B94ED #C0C5F5
Accessibility & contrast
On white
4.87
#5663E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5663E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5663E5
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5663E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5663E5 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5663e5; /* rgb */ color: rgb(86, 99, 229); /* oklch */ color: oklch(56.3% 0.195 274.0);
Tailwind
colors: {
custom: {
50: '#938fee',
500: '#5663e5',
950: '#000000',
},
}SCSS
$custom: #5663e5; $custom-light: #938fee; $custom-dark: #000000;
JSON
{
"hex": "#5663e5",
"rgb": {
"r": 86,
"g": 99,
"b": 229
},
"hsl": {
"h": 234.545,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.56269,
"c": 0.19508,
"h": 274
},
"luminance": 0.16559
}Semantic roles & 50–950 ramp
primary
#5663E5
secondary
#E6E1B1
accent
#C310D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84