#5962E5#5962E5
#5962E5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.3% C 0.196 H 275.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5962E5 |
|---|---|
| RGB | rgb(89, 98, 229) |
| HSL | hsl(236, 73%, 62%) |
| HSV | hsv(236, 61%, 90%) |
| CMYK | cmyk(61.1%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(47.64, 35.56, -67.77) |
| CIE-LCH | lch(47.64, 76.53, 297.69°) |
| OKLab | oklab(56.28% 0.0177 -0.1948) |
| OKLCH | oklch(56.28% 0.196 275.2) |
| XYZ | xyz(22.6257, 16.5145, 76.1089) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 4.07
Royal Blue
#4169E1
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 5.24
Azul
#1D5DEC
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962E5 #E5DC59
analogous
#59A8E5 #5962E5 #9659E5
triadic
#5962E5 #E55962 #62E559
tetradic
#5962E5 #E559A8 #E5DC59 #59E596
square
#5962E5 #E559A8 #E5DC59 #59E596
split-complementary
#5962E5 #E59659 #A8E559
monochromatic
#1A24A9 #2430DD #5962E5 #8E94ED #C3C6F6
Accessibility & contrast
On white
4.88
#5962E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#5962E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962E5
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962E5 | 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)
#0077E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5962e5; /* rgb */ color: rgb(89, 98, 229); /* oklch */ color: oklch(56.3% 0.196 275.2);
Tailwind
colors: {
custom: {
50: '#958eee',
500: '#5962e5',
950: '#000000',
},
}SCSS
$custom: #5962e5; $custom-light: #958eee; $custom-dark: #000000;
JSON
{
"hex": "#5962e5",
"rgb": {
"r": 89,
"g": 98,
"b": 229
},
"hsl": {
"h": 236.143,
"s": 72.917,
"l": 62.353
},
"oklch": {
"l": 0.56277,
"c": 0.19559,
"h": 275.2
},
"luminance": 0.16516
}Semantic roles & 50–950 ramp
primary
#5962E5
secondary
#E6E3B3
accent
#C810D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84