#5958C8#5958C8
#5958C8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.170 H 279.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5958C8 |
|---|---|
| RGB | rgb(89, 88, 200) |
| HSL | hsl(241, 50%, 56%) |
| HSV | hsv(241, 56%, 78%) |
| CMYK | cmyk(55.5%, 56%, 0%, 21.6%) |
| CIE-LAB | lab(43.17, 32.25, -58.45) |
| CIE-LCH | lch(43.17, 66.76, 298.89°) |
| OKLab | oklab(52.31% 0.0271 -0.1675) |
| OKLCH | oklch(52.31% 0.17 279.2) |
| XYZ | xyz(18.0316, 13.2722, 56.2440) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.75
Warm Blue
#4B57DB
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.11
Dark Periwinkle
#665FD1
ΔE00 3.19
Light Indigo
#6D5ACF
ΔE00 3.71
Bluey Purple
#6241C7
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5958C8 #C7C858
analogous
#588FC8 #5958C8 #9158C8
triadic
#5958C8 #C85958 #58C859
tetradic
#5958C8 #C8588F #C7C858 #58C891
square
#5958C8 #C8588F #C7C858 #58C891
split-complementary
#5958C8 #C89158 #8FC858
monochromatic
#2A297D #3938AB #5958C8 #8786D7 #B5B4E6
Accessibility & contrast
On white
5.75
#5958C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5958C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5958C8
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5958C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5958C8 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#207287
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5958c8; /* rgb */ color: rgb(89, 88, 200); /* oklch */ color: oklch(52.3% 0.170 279.2);
Tailwind
colors: {
custom: {
50: '#9187d9',
500: '#5958c8',
950: '#000000',
},
}SCSS
$custom: #5958c8; $custom-light: #9187d9; $custom-dark: #000000;
JSON
{
"hex": "#5958c8",
"rgb": {
"r": 89,
"g": 88,
"b": 200
},
"hsl": {
"h": 240.536,
"s": 50.45,
"l": 56.471
},
"oklch": {
"l": 0.52305,
"c": 0.16964,
"h": 279.2
},
"luminance": 0.13273
}Semantic roles & 50–950 ramp
primary
#5958C8
secondary
#D4D5A7
accent
#DA4ED9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83