#5958AE#5958AE
#5958AE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.133 H 281.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5958AE |
|---|---|
| RGB | rgb(89, 88, 174) |
| HSL | hsl(241, 35%, 51%) |
| HSV | hsv(241, 49%, 68%) |
| CMYK | cmyk(48.9%, 49.4%, 0%, 31.8%) |
| CIE-LAB | lab(41.47, 23.98, -46.02) |
| CIE-LCH | lch(41.47, 51.89, 297.52°) |
| OKLab | oklab(50.49% 0.0255 -0.1309) |
| OKLCH | oklch(50.49% 0.133 281) |
| XYZ | xyz(15.2472, 12.1585, 41.5796) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 5.63
Dark Periwinkle
#665FD1
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.19
Twilight
#4E518B
ΔE00 6.31
Warm Blue
#4B57DB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5958AE #ADAE58
analogous
#5882AE #5958AE #8458AE
triadic
#5958AE #AE5958 #58AE59
tetradic
#5958AE #AE5882 #ADAE58 #58AE84
square
#5958AE #AE5882 #ADAE58 #58AE84
split-complementary
#5958AE #AE8458 #82AE58
monochromatic
#2E2E5E #424287 #5958AE #8281C2 #ABAAD6
Accessibility & contrast
On white
6.12
#5958AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5958AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5958AE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5958AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5958AE | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#3A6A7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5958ae; /* rgb */ color: rgb(89, 88, 174); /* oklch */ color: oklch(50.5% 0.133 281.0);
Tailwind
colors: {
custom: {
50: '#8d87c7',
500: '#5958ae',
950: '#000000',
},
}SCSS
$custom: #5958ae; $custom-light: #8d87c7; $custom-dark: #000000;
JSON
{
"hex": "#5958ae",
"rgb": {
"r": 89,
"g": 88,
"b": 174
},
"hsl": {
"h": 240.698,
"s": 34.677,
"l": 51.373
},
"oklch": {
"l": 0.50485,
"c": 0.13337,
"h": 281
},
"luminance": 0.12159
}Semantic roles & 50–950 ramp
primary
#5958AE
secondary
#C3C49E
accent
#CB5DC9
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82