#5960C4#5960C4
#5960C4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.153 H 276.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5960C4 |
|---|---|
| RGB | rgb(89, 96, 196) |
| HSL | hsl(236, 48%, 56%) |
| HSV | hsv(236, 55%, 77%) |
| CMYK | cmyk(54.6%, 51%, 0%, 23.1%) |
| CIE-LAB | lab(44.91, 26.00, -53.35) |
| CIE-LCH | lch(44.91, 59.35, 295.99°) |
| OKLab | oklab(53.52% 0.0184 -0.1524) |
| OKLCH | oklch(53.52% 0.153 276.9) |
| XYZ | xyz(18.2633, 14.4739, 54.0452) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.19
Iris
#6258C4
ΔE00 3.48
Slate Blue
#6A5ACD
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.85
Royal Blue
#4169E1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960C4 #C4BD59
analogous
#5995C4 #5960C4 #8759C4
triadic
#5960C4 #C45960 #60C459
tetradic
#5960C4 #C45995 #C4BD59 #59C487
square
#5960C4 #C45995 #C4BD59 #59C487
split-complementary
#5960C4 #C48759 #95C459
monochromatic
#2B3078 #3B42A5 #5960C4 #868BD4 #B3B6E4
Accessibility & contrast
On white
5.39
#5960C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5960C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960C4
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960C4 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6FC8
Deuteranopia (green-blind)
#1C66C2
Tritanopia (blue-blind)
#247689
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5960c4; /* rgb */ color: rgb(89, 96, 196); /* oklch */ color: oklch(53.5% 0.153 276.9);
Tailwind
colors: {
custom: {
50: '#908dd6',
500: '#5960c4',
950: '#000000',
},
}SCSS
$custom: #5960c4; $custom-light: #908dd6; $custom-dark: #000000;
JSON
{
"hex": "#5960c4",
"rgb": {
"r": 89,
"g": 96,
"b": 196
},
"hsl": {
"h": 236.075,
"s": 47.556,
"l": 55.882
},
"oklch": {
"l": 0.53518,
"c": 0.15347,
"h": 276.9
},
"luminance": 0.14475
}Semantic roles & 50–950 ramp
primary
#5960C4
secondary
#D3D0A6
accent
#CE51D7
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83