#5960E5#5960E5
#5960E5 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.9% C 0.198 H 275.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5960E5 |
|---|---|
| RGB | rgb(89, 96, 229) |
| HSL | hsl(237, 73%, 62%) |
| HSV | hsv(237, 61%, 90%) |
| CMYK | cmyk(61.1%, 58.1%, 0%, 10.2%) |
| CIE-LAB | lab(47.16, 36.77, -68.54) |
| CIE-LCH | lch(47.16, 77.79, 298.21°) |
| OKLab | oklab(55.92% 0.0195 -0.1971) |
| OKLCH | oklch(55.92% 0.198 275.7) |
| XYZ | xyz(22.4409, 16.1449, 76.0473) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 3.59
Slate Blue
#6A5ACD
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.02
Royal Blue
#4169E1
ΔE00 5.05
Azul
#1D5DEC
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960E5 #E5DE59
analogous
#59A6E5 #5960E5 #9859E5
triadic
#5960E5 #E55960 #60E559
tetradic
#5960E5 #E559A6 #E5DE59 #59E598
square
#5960E5 #E559A6 #E5DE59 #59E598
split-complementary
#5960E5 #E59859 #A6E559
monochromatic
#1A22A9 #242DDD #5960E5 #8E93ED #C3C5F6
Accessibility & contrast
On white
4.97
#5960E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#5960E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960E5
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960E5 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#008099
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5960e5; /* rgb */ color: rgb(89, 96, 229); /* oklch */ color: oklch(55.9% 0.198 275.7);
Tailwind
colors: {
custom: {
50: '#958dee',
500: '#5960e5',
950: '#000000',
},
}SCSS
$custom: #5960e5; $custom-light: #958dee; $custom-dark: #000000;
JSON
{
"hex": "#5960e5",
"rgb": {
"r": 89,
"g": 96,
"b": 229
},
"hsl": {
"h": 237,
"s": 72.917,
"l": 62.353
},
"oklch": {
"l": 0.55922,
"c": 0.19804,
"h": 275.7
},
"luminance": 0.16147
}Semantic roles & 50–950 ramp
primary
#5960E5
secondary
#E6E4B3
accent
#CB10D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84