#5960D6#5960D6
#5960D6 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.8% C 0.178 H 276.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5960D6 |
|---|---|
| RGB | rgb(89, 96, 214) |
| HSL | hsl(237, 60%, 59%) |
| HSV | hsv(237, 58%, 84%) |
| CMYK | cmyk(58.4%, 55.1%, 0%, 16.1%) |
| CIE-LAB | lab(46.10, 31.87, -61.75) |
| CIE-LCH | lch(46.10, 69.49, 297.30°) |
| OKLab | oklab(54.8% 0.0194 -0.1771) |
| OKLCH | oklch(54.8% 0.178 276.2) |
| XYZ | xyz(20.4364, 15.3431, 65.4899) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.42
Warm Blue
#4B57DB
ΔE00 3.14
Slate Blue
#6A5ACD
ΔE00 4.04
Iris
#6258C4
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.41
Royal Blue
#4169E1
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960D6 #D6CF59
analogous
#599FD6 #5960D6 #9159D6
triadic
#5960D6 #D65960 #60D659
tetradic
#5960D6 #D6599F #D6CF59 #59D691
square
#5960D6 #D6599F #D6CF59 #59D691
split-complementary
#5960D6 #D69159 #9FD659
monochromatic
#242A91 #3038C2 #5960D6 #8A8FE2 #BBBEEE
Accessibility & contrast
On white
5.16
#5960D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5960D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960D6
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960D6 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0273DA
Deuteranopia (green-blind)
#0068D4
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5960d6; /* rgb */ color: rgb(89, 96, 214); /* oklch */ color: oklch(54.8% 0.178 276.2);
Tailwind
colors: {
custom: {
50: '#938de3',
500: '#5960d6',
950: '#000000',
},
}SCSS
$custom: #5960d6; $custom-light: #938de3; $custom-dark: #000000;
JSON
{
"hex": "#5960d6",
"rgb": {
"r": 89,
"g": 96,
"b": 214
},
"hsl": {
"h": 236.64,
"s": 60.386,
"l": 59.412
},
"oklch": {
"l": 0.54795,
"c": 0.17816,
"h": 276.2
},
"luminance": 0.15345
}Semantic roles & 50–950 ramp
primary
#5960D6
secondary
#DEDBAD
accent
#DB44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84