#5A62E4#5A62E4
#5A62E4 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.194 H 275.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5A62E4 |
|---|---|
| RGB | rgb(90, 98, 228) |
| HSL | hsl(237, 72%, 62%) |
| HSV | hsv(237, 61%, 89%) |
| CMYK | cmyk(60.5%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(47.63, 35.40, -67.21) |
| CIE-LCH | lch(47.63, 75.96, 297.77°) |
| OKLab | oklab(56.27% 0.0188 -0.1931) |
| OKLCH | oklch(56.27% 0.194 275.6) |
| XYZ | xyz(22.5832, 16.5087, 75.3802) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.42
Warm Blue
#4B57DB
ΔE00 4.07
Royal Blue
#4169E1
ΔE00 4.70
Slate Blue
#6A5ACD
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.24
Azul
#1D5DEC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A62E4 #E4DC5A
analogous
#5AA7E4 #5A62E4 #975AE4
triadic
#5A62E4 #E45A62 #62E45A
tetradic
#5A62E4 #E45AA7 #E4DC5A #5AE497
square
#5A62E4 #E45AA7 #E4DC5A #5AE497
split-complementary
#5A62E4 #E4975A #A7E45A
monochromatic
#1C24A8 #2530DB #5A62E4 #8F94ED #C3C6F5
Accessibility & contrast
On white
4.88
#5A62E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5A62E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A62E4
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A62E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A62E4 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5a62e4; /* rgb */ color: rgb(90, 98, 228); /* oklch */ color: oklch(56.3% 0.194 275.6);
Tailwind
colors: {
custom: {
50: '#958eed',
500: '#5a62e4',
950: '#000000',
},
}SCSS
$custom: #5a62e4; $custom-light: #958eed; $custom-dark: #000000;
JSON
{
"hex": "#5a62e4",
"rgb": {
"r": 90,
"g": 98,
"b": 228
},
"hsl": {
"h": 236.522,
"s": 71.875,
"l": 62.353
},
"oklch": {
"l": 0.56265,
"c": 0.19404,
"h": 275.6
},
"luminance": 0.1651
}Semantic roles & 50–950 ramp
primary
#5A62E4
secondary
#E6E3B4
accent
#C912D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84