#5960CD#5960CD
#5960CD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.1% C 0.166 H 276.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5960CD |
|---|---|
| RGB | rgb(89, 96, 205) |
| HSL | hsl(236, 54%, 58%) |
| HSV | hsv(236, 57%, 80%) |
| CMYK | cmyk(56.6%, 53.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.49, 28.93, -57.59) |
| CIE-LCH | lch(45.49, 64.44, 296.67°) |
| OKLab | oklab(54.15% 0.019 -0.1648) |
| OKLCH | oklch(54.15% 0.166 276.6) |
| XYZ | xyz(19.3186, 14.8960, 59.6030) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.52
Warm Blue
#4B57DB
ΔE00 3.53
Iris
#6258C4
ΔE00 3.62
Slate Blue
#6A5ACD
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.46
Royal Blue
#4169E1
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960CD #CDC659
analogous
#599ACD #5960CD #8C59CD
triadic
#5960CD #CD5960 #60CD59
tetradic
#5960CD #CD599A #CDC659 #59CD8C
square
#5960CD #CD599A #CDC659 #59CD8C
split-complementary
#5960CD #CD8C59 #9ACD59
monochromatic
#282D84 #363DB3 #5960CD #888DDB #B7BAE9
Accessibility & contrast
On white
5.28
#5960CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5960CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960CD
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960CD | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E71D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#15798D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5960cd; /* rgb */ color: rgb(89, 96, 205); /* oklch */ color: oklch(54.1% 0.166 276.6);
Tailwind
colors: {
custom: {
50: '#918ddd',
500: '#5960cd',
950: '#000000',
},
}SCSS
$custom: #5960cd; $custom-light: #918ddd; $custom-dark: #000000;
JSON
{
"hex": "#5960cd",
"rgb": {
"r": 89,
"g": 96,
"b": 205
},
"hsl": {
"h": 236.379,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.54146,
"c": 0.16594,
"h": 276.6
},
"luminance": 0.14897
}Semantic roles & 50–950 ramp
primary
#5960CD
secondary
#D8D5AA
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83