#5960EA#5960EA
#5960EA is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.3% C 0.205 H 275.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5960EA |
|---|---|
| RGB | rgb(89, 96, 234) |
| HSL | hsl(237, 78%, 63%) |
| HSV | hsv(237, 62%, 92%) |
| CMYK | cmyk(62%, 59%, 0%, 8.2%) |
| CIE-LAB | lab(47.53, 38.41, -70.77) |
| CIE-LCH | lch(47.53, 80.52, 298.49°) |
| OKLab | oklab(56.31% 0.0194 -0.2036) |
| OKLCH | oklch(56.31% 0.205 275.5) |
| XYZ | xyz(23.1491, 16.4282, 79.7770) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.85
Warm Blue
#4B57DB
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.27
Light Indigo
#6D5ACF
ΔE00 5.37
Azul
#1D5DEC
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960EA #EAE359
analogous
#59A9EA #5960EA #9A59EA
triadic
#5960EA #EA5960 #60EA59
tetradic
#5960EA #EA59A9 #EAE359 #59EA9A
square
#5960EA #EA59A9 #EAE359 #59EA9A
split-complementary
#5960EA #EA9A59 #A9EA59
monochromatic
#171EB2 #232CE3 #5960EA #8F94F1 #C6C8F8
Accessibility & contrast
On white
4.90
#5960EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5960EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960EA
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960EA | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5960ea; /* rgb */ color: rgb(89, 96, 234); /* oklch */ color: oklch(56.3% 0.205 275.5);
Tailwind
colors: {
custom: {
50: '#968df2',
500: '#5960ea',
950: '#000000',
},
}SCSS
$custom: #5960ea; $custom-light: #968df2; $custom-dark: #000000;
JSON
{
"hex": "#5960ea",
"rgb": {
"r": 89,
"g": 96,
"b": 234
},
"hsl": {
"h": 237.103,
"s": 77.54,
"l": 63.333
},
"oklch": {
"l": 0.56309,
"c": 0.20454,
"h": 275.5
},
"luminance": 0.1643
}Semantic roles & 50–950 ramp
primary
#5960EA
secondary
#E9E7B6
accent
#D00CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85