#5962E7#5962E7
#5962E7 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.198 H 275.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5962E7 |
|---|---|
| RGB | rgb(89, 98, 231) |
| HSL | hsl(236, 75%, 63%) |
| HSV | hsv(236, 61%, 91%) |
| CMYK | cmyk(61.5%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(47.79, 36.21, -68.66) |
| CIE-LCH | lch(47.79, 77.63, 297.81°) |
| OKLab | oklab(56.43% 0.0177 -0.1974) |
| OKLCH | oklch(56.43% 0.198 275.1) |
| XYZ | xyz(22.9066, 16.6269, 77.5880) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.77
Warm Blue
#4B57DB
ΔE00 4.20
Royal Blue
#4169E1
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 5.39
Azul
#1D5DEC
ΔE00 5.41
Light Indigo
#6D5ACF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962E7 #E7DE59
analogous
#59A9E7 #5962E7 #9759E7
triadic
#5962E7 #E75962 #62E759
tetradic
#5962E7 #E759A9 #E7DE59 #59E797
square
#5962E7 #E759A9 #E7DE59 #59E797
split-complementary
#5962E7 #E79759 #A9E759
monochromatic
#1922AD #242FDF #5962E7 #8E95EF #C4C7F6
Accessibility & contrast
On white
4.85
#5962E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5962E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962E7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962E7 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5962e7; /* rgb */ color: rgb(89, 98, 231); /* oklch */ color: oklch(56.4% 0.198 275.1);
Tailwind
colors: {
custom: {
50: '#958ef0',
500: '#5962e7',
950: '#000000',
},
}SCSS
$custom: #5962e7; $custom-light: #958ef0; $custom-dark: #000000;
JSON
{
"hex": "#5962e7",
"rgb": {
"r": 89,
"g": 98,
"b": 231
},
"hsl": {
"h": 236.197,
"s": 74.737,
"l": 62.745
},
"oklch": {
"l": 0.56429,
"c": 0.19821,
"h": 275.1
},
"luminance": 0.16629
}Semantic roles & 50–950 ramp
primary
#5962E7
secondary
#E8E4B4
accent
#CA0FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85