#5960D7#5960D7
#5960D7 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.180 H 276.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5960D7 |
|---|---|
| RGB | rgb(89, 96, 215) |
| HSL | hsl(237, 61%, 60%) |
| HSV | hsv(237, 59%, 84%) |
| CMYK | cmyk(58.6%, 55.3%, 0%, 15.7%) |
| CIE-LAB | lab(46.17, 32.19, -62.21) |
| CIE-LCH | lch(46.17, 70.05, 297.36°) |
| OKLab | oklab(54.87% 0.0194 -0.1785) |
| OKLCH | oklch(54.87% 0.18 276.2) |
| XYZ | xyz(20.5645, 15.3944, 66.1645) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.45
Warm Blue
#4B57DB
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 4.07
Iris
#6258C4
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.43
Royal Blue
#4169E1
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960D7 #D7D059
analogous
#599FD7 #5960D7 #9159D7
triadic
#5960D7 #D75960 #60D759
tetradic
#5960D7 #D7599F #D7D059 #59D791
square
#5960D7 #D7599F #D7D059 #59D791
split-complementary
#5960D7 #D79159 #9FD759
monochromatic
#232992 #2F37C4 #5960D7 #8A8FE3 #BCBEEF
Accessibility & contrast
On white
5.15
#5960D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5960D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960D7
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960D7 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5960d7; /* rgb */ color: rgb(89, 96, 215); /* oklch */ color: oklch(54.9% 0.180 276.2);
Tailwind
colors: {
custom: {
50: '#938de4',
500: '#5960d7',
950: '#000000',
},
}SCSS
$custom: #5960d7; $custom-light: #938de4; $custom-dark: #000000;
JSON
{
"hex": "#5960d7",
"rgb": {
"r": 89,
"g": 96,
"b": 215
},
"hsl": {
"h": 236.667,
"s": 61.165,
"l": 59.608
},
"oklch": {
"l": 0.54868,
"c": 0.17951,
"h": 276.2
},
"luminance": 0.15396
}Semantic roles & 50–950 ramp
primary
#5960D7
secondary
#DEDCAD
accent
#DB44E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84