#5960D2#5960D2
#5960D2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.173 H 276.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5960D2 |
|---|---|
| RGB | rgb(89, 96, 210) |
| HSL | hsl(237, 57%, 59%) |
| HSV | hsv(237, 58%, 82%) |
| CMYK | cmyk(57.6%, 54.3%, 0%, 17.6%) |
| CIE-LAB | lab(45.83, 30.56, -59.91) |
| CIE-LCH | lch(45.83, 67.25, 297.03°) |
| OKLab | oklab(54.5% 0.0192 -0.1717) |
| OKLCH | oklch(54.5% 0.173 276.4) |
| XYZ | xyz(19.9318, 15.1413, 62.8325) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.39
Warm Blue
#4B57DB
ΔE00 3.25
Iris
#6258C4
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.39
Royal Blue
#4169E1
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960D2 #D2CB59
analogous
#599CD2 #5960D2 #8E59D2
triadic
#5960D2 #D25960 #60D259
tetradic
#5960D2 #D2599C #D2CB59 #59D28E
square
#5960D2 #D2599C #D2CB59 #59D28E
split-complementary
#5960D2 #D28E59 #9CD259
monochromatic
#262C8B #333BBB #5960D2 #898EDF #B9BCEC
Accessibility & contrast
On white
5.21
#5960D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5960D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960D2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960D2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#047A90
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5960d2; /* rgb */ color: rgb(89, 96, 210); /* oklch */ color: oklch(54.5% 0.173 276.4);
Tailwind
colors: {
custom: {
50: '#928de0',
500: '#5960d2',
950: '#000000',
},
}SCSS
$custom: #5960d2; $custom-light: #928de0; $custom-dark: #000000;
JSON
{
"hex": "#5960d2",
"rgb": {
"r": 89,
"g": 96,
"b": 210
},
"hsl": {
"h": 236.529,
"s": 57.346,
"l": 58.627
},
"oklch": {
"l": 0.54504,
"c": 0.17276,
"h": 276.4
},
"luminance": 0.15143
}Semantic roles & 50–950 ramp
primary
#5960D2
secondary
#DBD9AB
accent
#D847E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83