#5962E4#5962E4
#5962E4 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.194 H 275.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5962E4 |
|---|---|
| RGB | rgb(89, 98, 228) |
| HSL | hsl(236, 72%, 62%) |
| HSV | hsv(236, 61%, 89%) |
| CMYK | cmyk(61%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(47.57, 35.23, -67.32) |
| CIE-LCH | lch(47.57, 75.98, 297.62°) |
| OKLab | oklab(56.2% 0.0177 -0.1935) |
| OKLCH | oklch(56.2% 0.194 275.2) |
| XYZ | xyz(22.4865, 16.4589, 75.3756) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 4.01
Royal Blue
#4169E1
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 5.34
Azul
#1D5DEC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962E4 #E4DB59
analogous
#59A8E4 #5962E4 #9659E4
triadic
#5962E4 #E45962 #62E459
tetradic
#5962E4 #E459A8 #E4DB59 #59E496
square
#5962E4 #E459A8 #E4DB59 #59E496
split-complementary
#5962E4 #E49659 #A8E459
monochromatic
#1B24A7 #2430DB #5962E4 #8E94ED #C2C6F5
Accessibility & contrast
On white
4.89
#5962E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5962E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962E4
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962E4 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 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: #5962e4; /* rgb */ color: rgb(89, 98, 228); /* oklch */ color: oklch(56.2% 0.194 275.2);
Tailwind
colors: {
custom: {
50: '#958eed',
500: '#5962e4',
950: '#000000',
},
}SCSS
$custom: #5962e4; $custom-light: #958eed; $custom-dark: #000000;
JSON
{
"hex": "#5962e4",
"rgb": {
"r": 89,
"g": 98,
"b": 228
},
"hsl": {
"h": 236.115,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.56201,
"c": 0.19427,
"h": 275.2
},
"luminance": 0.16461
}Semantic roles & 50–950 ramp
primary
#5962E4
secondary
#E6E3B3
accent
#C711D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84