#5960E1#5960E1
#5960E1 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.193 H 275.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5960E1 |
|---|---|
| RGB | rgb(89, 96, 225) |
| HSL | hsl(237, 69%, 62%) |
| HSV | hsv(237, 60%, 88%) |
| CMYK | cmyk(60.4%, 57.3%, 0%, 11.8%) |
| CIE-LAB | lab(46.87, 35.47, -66.75) |
| CIE-LCH | lch(46.87, 75.59, 297.98°) |
| OKLab | oklab(55.62% 0.0195 -0.1918) |
| OKLCH | oklch(55.62% 0.193 275.8) |
| XYZ | xyz(21.8889, 15.9241, 73.1397) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 3.35
Slate Blue
#6A5ACD
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.79
Royal Blue
#4169E1
ΔE00 4.99
Iris
#6258C4
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960E1 #E1DA59
analogous
#59A4E1 #5960E1 #9659E1
triadic
#5960E1 #E15960 #60E159
tetradic
#5960E1 #E159A4 #E1DA59 #59E196
square
#5960E1 #E159A4 #E1DA59 #59E196
split-complementary
#5960E1 #E19659 #A4E159
monochromatic
#1D24A2 #2730D6 #5960E1 #8D92EA #C1C3F4
Accessibility & contrast
On white
5.02
#5960E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#5960E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960E1
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960E1 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5960e1; /* rgb */ color: rgb(89, 96, 225); /* oklch */ color: oklch(55.6% 0.193 275.8);
Tailwind
colors: {
custom: {
50: '#948deb',
500: '#5960e1',
950: '#000000',
},
}SCSS
$custom: #5960e1; $custom-light: #948deb; $custom-dark: #000000;
JSON
{
"hex": "#5960e1",
"rgb": {
"r": 89,
"g": 96,
"b": 225
},
"hsl": {
"h": 236.912,
"s": 69.388,
"l": 61.569
},
"oklch": {
"l": 0.55616,
"c": 0.1928,
"h": 275.8
},
"luminance": 0.15926
}Semantic roles & 50–950 ramp
primary
#5960E1
secondary
#E4E2B2
accent
#C814D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84