#5960D8#5960D8
#5960D8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.181 H 276.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5960D8 |
|---|---|
| RGB | rgb(89, 96, 216) |
| HSL | hsl(237, 62%, 60%) |
| HSV | hsv(237, 59%, 85%) |
| CMYK | cmyk(58.8%, 55.6%, 0%, 15.3%) |
| CIE-LAB | lab(46.24, 32.52, -62.67) |
| CIE-LCH | lch(46.24, 70.61, 297.43°) |
| OKLab | oklab(54.94% 0.0194 -0.1798) |
| OKLCH | oklch(54.94% 0.181 276.2) |
| XYZ | xyz(20.6934, 15.4459, 66.8433) |
| Luminance | 0.1545 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.48
Warm Blue
#4B57DB
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 4.11
Iris
#6258C4
ΔE00 4.33
Light Indigo
#6D5ACF
ΔE00 4.45
Royal Blue
#4169E1
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960D8 #D8D159
analogous
#599FD8 #5960D8 #9259D8
triadic
#5960D8 #D85960 #60D859
tetradic
#5960D8 #D8599F #D8D159 #59D892
square
#5960D8 #D8599F #D8D159 #59D892
split-complementary
#5960D8 #D89259 #9FD859
monochromatic
#232994 #2E37C5 #5960D8 #8B8FE4 #BCBFEF
Accessibility & contrast
On white
5.14
#5960D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5960D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960D8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960D8 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0068D6
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5960d8; /* rgb */ color: rgb(89, 96, 216); /* oklch */ color: oklch(54.9% 0.181 276.2);
Tailwind
colors: {
custom: {
50: '#938de5',
500: '#5960d8',
950: '#000000',
},
}SCSS
$custom: #5960d8; $custom-light: #938de5; $custom-dark: #000000;
JSON
{
"hex": "#5960d8",
"rgb": {
"r": 89,
"g": 96,
"b": 216
},
"hsl": {
"h": 236.693,
"s": 61.951,
"l": 59.804
},
"oklch": {
"l": 0.54942,
"c": 0.18085,
"h": 276.2
},
"luminance": 0.15447
}Semantic roles & 50–950 ramp
primary
#5960D8
secondary
#DFDCAE
accent
#DC43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84