#5B62E7#5B62E7
#5B62E7 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.6% C 0.198 H 275.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5B62E7 |
|---|---|
| RGB | rgb(91, 98, 231) |
| HSL | hsl(237, 74%, 63%) |
| HSV | hsv(237, 61%, 91%) |
| CMYK | cmyk(60.6%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(47.91, 36.54, -68.45) |
| CIE-LCH | lch(47.91, 77.59, 298.10°) |
| OKLab | oklab(56.56% 0.02 -0.1967) |
| OKLCH | oklch(56.56% 0.198 275.8) |
| XYZ | xyz(23.1012, 16.7272, 77.5971) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.63
Warm Blue
#4B57DB
ΔE00 4.32
Royal Blue
#4169E1
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.34
Mediumslateblue
#7B68EE
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B62E7 #E7E05B
analogous
#5BA8E7 #5B62E7 #9A5BE7
triadic
#5B62E7 #E75B62 #62E75B
tetradic
#5B62E7 #E75BA8 #E7E05B #5BE79A
square
#5B62E7 #E75BA8 #E7E05B #5BE79A
split-complementary
#5B62E7 #E79A5B #A8E75B
monochromatic
#1921AE #262FDF #5B62E7 #9095EF #C6C8F7
Accessibility & contrast
On white
4.83
#5B62E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#5B62E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B62E7
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B62E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B62E7 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5b62e7; /* rgb */ color: rgb(91, 98, 231); /* oklch */ color: oklch(56.6% 0.198 275.8);
Tailwind
colors: {
custom: {
50: '#968eef',
500: '#5b62e7',
950: '#000000',
},
}SCSS
$custom: #5b62e7; $custom-light: #968eef; $custom-dark: #000000;
JSON
{
"hex": "#5b62e7",
"rgb": {
"r": 91,
"g": 98,
"b": 231
},
"hsl": {
"h": 237,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.56557,
"c": 0.19774,
"h": 275.8
},
"luminance": 0.16729
}Semantic roles & 50–950 ramp
primary
#5B62E7
secondary
#E8E5B6
accent
#CD0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85