#5960E6#5960E6
#5960E6 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.199 H 275.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5960E6 |
|---|---|
| RGB | rgb(89, 96, 230) |
| HSL | hsl(237, 74%, 63%) |
| HSV | hsv(237, 61%, 90%) |
| CMYK | cmyk(61.3%, 58.3%, 0%, 9.8%) |
| CIE-LAB | lab(47.24, 37.10, -68.99) |
| CIE-LCH | lch(47.24, 78.33, 298.27°) |
| OKLab | oklab(56% 0.0195 -0.1984) |
| OKLCH | oklch(56% 0.199 275.6) |
| XYZ | xyz(22.5810, 16.2010, 76.7847) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.47
Warm Blue
#4B57DB
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.09
Azul
#1D5DEC
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960E6 #E6DF59
analogous
#59A7E6 #5960E6 #9859E6
triadic
#5960E6 #E65960 #60E659
tetradic
#5960E6 #E659A7 #E6DF59 #59E698
square
#5960E6 #E659A7 #E6DF59 #59E698
split-complementary
#5960E6 #E69859 #A7E659
monochromatic
#1A21AB #242DDE #5960E6 #8E93EE #C3C6F6
Accessibility & contrast
On white
4.95
#5960E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5960E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960E6
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960E6 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5960e6; /* rgb */ color: rgb(89, 96, 230); /* oklch */ color: oklch(56.0% 0.199 275.6);
Tailwind
colors: {
custom: {
50: '#958def',
500: '#5960e6',
950: '#000000',
},
}SCSS
$custom: #5960e6; $custom-light: #958def; $custom-dark: #000000;
JSON
{
"hex": "#5960e6",
"rgb": {
"r": 89,
"g": 96,
"b": 230
},
"hsl": {
"h": 237.021,
"s": 73.822,
"l": 62.549
},
"oklch": {
"l": 0.55999,
"c": 0.19935,
"h": 275.6
},
"luminance": 0.16203
}Semantic roles & 50–950 ramp
primary
#5960E6
secondary
#E7E4B4
accent
#CC10D6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85