#5960E2#5960E2
#5960E2 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.7% C 0.194 H 275.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5960E2 |
|---|---|
| RGB | rgb(89, 96, 226) |
| HSL | hsl(237, 70%, 62%) |
| HSV | hsv(237, 61%, 89%) |
| CMYK | cmyk(60.6%, 57.5%, 0%, 11.4%) |
| CIE-LAB | lab(46.95, 35.79, -67.20) |
| CIE-LCH | lch(46.95, 76.14, 298.04°) |
| OKLab | oklab(55.69% 0.0195 -0.1931) |
| OKLCH | oklch(55.69% 0.194 275.8) |
| XYZ | xyz(22.0257, 15.9788, 73.8603) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.11
Warm Blue
#4B57DB
ΔE00 3.40
Slate Blue
#6A5ACD
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 4.84
Royal Blue
#4169E1
ΔE00 5.00
Iris
#6258C4
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960E2 #E2DB59
analogous
#59A5E2 #5960E2 #9759E2
triadic
#5960E2 #E25960 #60E259
tetradic
#5960E2 #E259A5 #E2DB59 #59E297
square
#5960E2 #E259A5 #E2DB59 #59E297
split-complementary
#5960E2 #E29759 #A5E259
monochromatic
#1D24A4 #262FD8 #5960E2 #8D92EB #C1C4F4
Accessibility & contrast
On white
5.00
#5960E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5960E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960E2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960E2 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5960e2; /* rgb */ color: rgb(89, 96, 226); /* oklch */ color: oklch(55.7% 0.194 275.8);
Tailwind
colors: {
custom: {
50: '#958dec',
500: '#5960e2',
950: '#000000',
},
}SCSS
$custom: #5960e2; $custom-light: #958dec; $custom-dark: #000000;
JSON
{
"hex": "#5960e2",
"rgb": {
"r": 89,
"g": 96,
"b": 226
},
"hsl": {
"h": 236.934,
"s": 70.256,
"l": 61.765
},
"oklch": {
"l": 0.55692,
"c": 0.19411,
"h": 275.8
},
"luminance": 0.15981
}Semantic roles & 50–950 ramp
primary
#5960E2
secondary
#E5E2B2
accent
#C813D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84