#5962EA#5962EA
#5962EA is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 56.7% C 0.202 H 275.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5962EA |
|---|---|
| RGB | rgb(89, 98, 234) |
| HSL | hsl(236, 78%, 63%) |
| HSV | hsv(236, 62%, 92%) |
| CMYK | cmyk(62%, 58.1%, 0%, 8.2%) |
| CIE-LAB | lab(48.00, 37.20, -70.00) |
| CIE-LCH | lch(48.00, 79.27, 297.99°) |
| OKLab | oklab(56.66% 0.0177 -0.2013) |
| OKLCH | oklch(56.66% 0.202 275) |
| XYZ | xyz(23.3339, 16.7978, 79.8386) |
| Luminance | 0.1680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.05
Warm Blue
#4B57DB
ΔE00 4.42
Royal Blue
#4169E1
ΔE00 4.78
Azul
#1D5DEC
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.62
Mediumslateblue
#7B68EE
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5962EA #EAE159
analogous
#59AAEA #5962EA #9859EA
triadic
#5962EA #EA5962 #62EA59
tetradic
#5962EA #EA59AA #EAE159 #59EA98
square
#5962EA #EA59AA #EAE159 #59EA98
split-complementary
#5962EA #EA9859 #AAEA59
monochromatic
#1720B2 #232FE3 #5962EA #8F95F1 #C6C9F8
Accessibility & contrast
On white
4.82
#5962EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5962EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5962EA
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5962EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5962EA | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5962ea; /* rgb */ color: rgb(89, 98, 234); /* oklch */ color: oklch(56.7% 0.202 275.0);
Tailwind
colors: {
custom: {
50: '#968ef2',
500: '#5962ea',
950: '#000000',
},
}SCSS
$custom: #5962ea; $custom-light: #968ef2; $custom-dark: #000000;
JSON
{
"hex": "#5962ea",
"rgb": {
"r": 89,
"g": 98,
"b": 234
},
"hsl": {
"h": 236.276,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.56659,
"c": 0.20212,
"h": 275
},
"luminance": 0.168
}Semantic roles & 50–950 ramp
primary
#5962EA
secondary
#E9E6B6
accent
#CD0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85