#5960CB#5960CB
#5960CB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.0% C 0.163 H 276.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5960CB |
|---|---|
| RGB | rgb(89, 96, 203) |
| HSL | hsl(236, 52%, 57%) |
| HSV | hsv(236, 56%, 80%) |
| CMYK | cmyk(56.2%, 52.7%, 0%, 20.4%) |
| CIE-LAB | lab(45.36, 28.28, -56.65) |
| CIE-LCH | lch(45.36, 63.32, 296.53°) |
| OKLab | oklab(54% 0.0189 -0.1621) |
| OKLCH | oklch(54% 0.163 276.6) |
| XYZ | xyz(19.0787, 14.8001, 58.3397) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.63
Iris
#6258C4
ΔE00 3.55
Warm Blue
#4B57DB
ΔE00 3.68
Slate Blue
#6A5ACD
ΔE00 4.02
Light Indigo
#6D5ACF
ΔE00 4.51
Royal Blue
#4169E1
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960CB #CBC459
analogous
#5999CB #5960CB #8B59CB
triadic
#5960CB #CB5960 #60CB59
tetradic
#5960CB #CB5999 #CBC459 #59CB8B
square
#5960CB #CB5999 #CBC459 #59CB8B
split-complementary
#5960CB #CB8B59 #99CB59
monochromatic
#282E81 #373EB0 #5960CB #888DDA #B6B9E8
Accessibility & contrast
On white
5.30
#5960CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5960CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960CB
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960CB | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#19788C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5960cb; /* rgb */ color: rgb(89, 96, 203); /* oklch */ color: oklch(54.0% 0.163 276.6);
Tailwind
colors: {
custom: {
50: '#918ddb',
500: '#5960cb',
950: '#000000',
},
}SCSS
$custom: #5960cb; $custom-light: #918ddb; $custom-dark: #000000;
JSON
{
"hex": "#5960cb",
"rgb": {
"r": 89,
"g": 96,
"b": 203
},
"hsl": {
"h": 236.316,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.54004,
"c": 0.16318,
"h": 276.6
},
"luminance": 0.14801
}Semantic roles & 50–950 ramp
primary
#5960CB
secondary
#D7D4A9
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83