#5960F2#5960F2
#5960F2 is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.215 H 275.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5960F2 |
|---|---|
| RGB | rgb(89, 96, 242) |
| HSL | hsl(237, 85%, 65%) |
| HSV | hsv(237, 63%, 95%) |
| CMYK | cmyk(63.2%, 60.3%, 0%, 5.1%) |
| CIE-LAB | lab(48.13, 41.02, -74.28) |
| CIE-LCH | lch(48.13, 84.85, 298.91°) |
| OKLab | oklab(56.94% 0.0192 -0.2139) |
| OKLCH | oklch(56.94% 0.215 275.1) |
| XYZ | xyz(24.3244, 16.8983, 85.9670) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 4.72
Mediumslateblue
#7B68EE
ΔE00 5.55
Royal Blue
#4169E1
ΔE00 5.58
Azul
#1D5DEC
ΔE00 5.78
Slate Blue
#6A5ACD
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5960F2 #F2EB59
analogous
#59ACF2 #5960F2 #9F59F2
triadic
#5960F2 #F25960 #60F259
tetradic
#5960F2 #F259AC #F2EB59 #59F29F
square
#5960F2 #F259AC #F2EB59 #59F29F
split-complementary
#5960F2 #F29F59 #ACF259
monochromatic
#0F17C1 #202AEE #5960F2 #9296F6 #CBCDFB
Accessibility & contrast
On white
4.79
#5960F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#5960F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5960F2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5960F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5960F2 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5960f2; /* rgb */ color: rgb(89, 96, 242); /* oklch */ color: oklch(56.9% 0.215 275.1);
Tailwind
colors: {
custom: {
50: '#978df7',
500: '#5960f2',
950: '#000000',
},
}SCSS
$custom: #5960f2; $custom-light: #978df7; $custom-dark: #000000;
JSON
{
"hex": "#5960f2",
"rgb": {
"r": 89,
"g": 96,
"b": 242
},
"hsl": {
"h": 237.255,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.5694,
"c": 0.21479,
"h": 275.1
},
"luminance": 0.169
}Semantic roles & 50–950 ramp
primary
#5960F2
secondary
#EDEBB9
accent
#D804E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85