#5962E8#5962E8
#5962E8 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.5% C 0.200 H 275.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5962E8 |
|---|---|
| RGB | rgb(89, 98, 232) |
| HSL | hsl(236, 76%, 63%) |
| HSV | hsv(236, 62%, 91%) |
| CMYK | cmyk(61.6%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(47.86, 36.54, -69.11) |
| CIE-LCH | lch(47.86, 78.17, 297.87°) |
| OKLab | oklab(56.51% 0.0177 -0.1987) |
| OKLCH | oklch(56.51% 0.2 275.1) |
| XYZ | xyz(23.0482, 16.6835, 78.3339) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.86
Warm Blue
#4B57DB
ΔE00 4.27
Royal Blue
#4169E1
ΔE00 4.70
Azul
#1D5DEC
ΔE00 5.43
Slate Blue
#6A5ACD
ΔE00 5.46
Light Indigo
#6D5ACF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962E8 #E8DF59
analogous
#59A9E8 #5962E8 #9859E8
triadic
#5962E8 #E85962 #62E859
tetradic
#5962E8 #E859A9 #E8DF59 #59E898
square
#5962E8 #E859A9 #E8DF59 #59E898
split-complementary
#5962E8 #E89859 #A9E859
monochromatic
#1822AE #232FE1 #5962E8 #8F95EF #C5C8F7
Accessibility & contrast
On white
4.84
#5962E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#5962E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962E8
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962E8 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EC
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5962e8; /* rgb */ color: rgb(89, 98, 232); /* oklch */ color: oklch(56.5% 0.200 275.1);
Tailwind
colors: {
custom: {
50: '#968ef0',
500: '#5962e8',
950: '#000000',
},
}SCSS
$custom: #5962e8; $custom-light: #968ef0; $custom-dark: #000000;
JSON
{
"hex": "#5962e8",
"rgb": {
"r": 89,
"g": 98,
"b": 232
},
"hsl": {
"h": 236.224,
"s": 75.661,
"l": 62.941
},
"oklch": {
"l": 0.56505,
"c": 0.19951,
"h": 275.1
},
"luminance": 0.16685
}Semantic roles & 50–950 ramp
primary
#5962E8
secondary
#E8E5B5
accent
#CB0ED8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85