#5662E6#5662E6
#5662E6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.198 H 274.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5662E6 |
|---|---|
| RGB | rgb(86, 98, 230) |
| HSL | hsl(235, 74%, 62%) |
| HSV | hsv(235, 63%, 90%) |
| CMYK | cmyk(62.6%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(47.53, 35.40, -68.53) |
| CIE-LCH | lch(47.53, 77.13, 297.32°) |
| OKLab | oklab(56.17% 0.0145 -0.1971) |
| OKLCH | oklch(56.17% 0.198 274.2) |
| XYZ | xyz(22.4836, 16.4251, 76.8331) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 3.99
Royal Blue
#4169E1
ΔE00 4.26
Azul
#1D5DEC
ΔE00 4.98
Cornflower Blue
#5170D7
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5662E6 #E6DA56
analogous
#56AAE6 #5662E6 #9256E6
triadic
#5662E6 #E65662 #62E656
tetradic
#5662E6 #E656AA #E6DA56 #56E692
square
#5662E6 #E656AA #E6DA56 #56E692
split-complementary
#5662E6 #E69256 #AAE656
monochromatic
#1925A9 #2131DE #5662E6 #8B94EE #C1C5F6
Accessibility & contrast
On white
4.90
#5662E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5662E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5662E6
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5662E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5662E6 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5662e6; /* rgb */ color: rgb(86, 98, 230); /* oklch */ color: oklch(56.2% 0.198 274.2);
Tailwind
colors: {
custom: {
50: '#948eef',
500: '#5662e6',
950: '#000000',
},
}SCSS
$custom: #5662e6; $custom-light: #948eef; $custom-dark: #000000;
JSON
{
"hex": "#5662e6",
"rgb": {
"r": 86,
"g": 98,
"b": 230
},
"hsl": {
"h": 235,
"s": 74.227,
"l": 61.961
},
"oklch": {
"l": 0.56165,
"c": 0.19762,
"h": 274.2
},
"luminance": 0.16427
}Semantic roles & 50–950 ramp
primary
#5662E6
secondary
#E6E2B1
accent
#C60FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85