#5958AF#5958AF
#5958AF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.135 H 281.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5958AF |
|---|---|
| RGB | rgb(89, 88, 175) |
| HSL | hsl(241, 35%, 52%) |
| HSV | hsv(241, 50%, 69%) |
| CMYK | cmyk(49.1%, 49.7%, 0%, 31.4%) |
| CIE-LAB | lab(41.53, 24.29, -46.51) |
| CIE-LCH | lch(41.53, 52.47, 297.58°) |
| OKLab | oklab(50.55% 0.0256 -0.1323) |
| OKLCH | oklch(50.55% 0.135 281) |
| XYZ | xyz(15.3451, 12.1976, 42.0949) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 5.50
Dark Periwinkle
#665FD1
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.05
Twilight
#4E518B
ΔE00 6.46
Warm Blue
#4B57DB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5958AF #AEAF58
analogous
#5883AF #5958AF #8558AF
triadic
#5958AF #AF5958 #58AF59
tetradic
#5958AF #AF5883 #AEAF58 #58AF85
square
#5958AF #AF5883 #AEAF58 #58AF85
split-complementary
#5958AF #AF8558 #83AF58
monochromatic
#2E2E5F #424188 #5958AF #8281C3 #ABABD7
Accessibility & contrast
On white
6.11
#5958AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5958AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5958AF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5958AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5958AF | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#396B7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5958af; /* rgb */ color: rgb(89, 88, 175); /* oklch */ color: oklch(50.6% 0.135 281.0);
Tailwind
colors: {
custom: {
50: '#8d87c7',
500: '#5958af',
950: '#000000',
},
}SCSS
$custom: #5958af; $custom-light: #8d87c7; $custom-dark: #000000;
JSON
{
"hex": "#5958af",
"rgb": {
"r": 89,
"g": 88,
"b": 175
},
"hsl": {
"h": 240.69,
"s": 35.223,
"l": 51.569
},
"oklch": {
"l": 0.50551,
"c": 0.13481,
"h": 281
},
"luminance": 0.12198
}Semantic roles & 50–950 ramp
primary
#5958AF
secondary
#C4C59E
accent
#CB5DCA
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82