#5562E7#5562E7
#5562E7 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.2% C 0.199 H 273.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5562E7 |
|---|---|
| RGB | rgb(85, 98, 231) |
| HSL | hsl(235, 75%, 62%) |
| HSV | hsv(235, 63%, 91%) |
| CMYK | cmyk(63.2%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(47.54, 35.58, -69.07) |
| CIE-LCH | lch(47.54, 77.70, 297.25°) |
| OKLab | oklab(56.18% 0.0134 -0.1987) |
| OKLCH | oklch(56.18% 0.199 273.9) |
| XYZ | xyz(22.5330, 16.4343, 77.5705) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.09
Royal Blue
#4169E1
ΔE00 4.18
Azul
#1D5DEC
ΔE00 4.86
Bright Blue
#0165FC
ΔE00 5.49
Cornflower Blue
#5170D7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5562E7 #E7DA55
analogous
#55ABE7 #5562E7 #9155E7
triadic
#5562E7 #E75562 #62E755
tetradic
#5562E7 #E755AB #E7DA55 #55E791
square
#5562E7 #E755AB #E7DA55 #55E791
split-complementary
#5562E7 #E79155 #ABE755
monochromatic
#1825AA #2031DF #5562E7 #8B94EF #C0C5F6
Accessibility & contrast
On white
4.90
#5562E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5562E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5562E7
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5562E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5562E7 | 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)
#0077EB
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5562e7; /* rgb */ color: rgb(85, 98, 231); /* oklch */ color: oklch(56.2% 0.199 273.9);
Tailwind
colors: {
custom: {
50: '#938ef0',
500: '#5562e7',
950: '#000000',
},
}SCSS
$custom: #5562e7; $custom-light: #938ef0; $custom-dark: #000000;
JSON
{
"hex": "#5562e7",
"rgb": {
"r": 85,
"g": 98,
"b": 231
},
"hsl": {
"h": 234.658,
"s": 75.258,
"l": 61.961
},
"oklch": {
"l": 0.5618,
"c": 0.19917,
"h": 273.9
},
"luminance": 0.16436
}Semantic roles & 50–950 ramp
primary
#5562E7
secondary
#E7E2B1
accent
#C50ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85