#5957AE#5957AE
#5957AE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.135 H 281.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5957AE |
|---|---|
| RGB | rgb(89, 87, 174) |
| HSL | hsl(241, 35%, 51%) |
| HSV | hsv(241, 50%, 68%) |
| CMYK | cmyk(48.9%, 50%, 0%, 31.8%) |
| CIE-LAB | lab(41.21, 24.60, -46.43) |
| CIE-LCH | lch(41.21, 52.55, 297.92°) |
| OKLab | oklab(50.29% 0.0267 -0.1321) |
| OKLCH | oklch(50.29% 0.135 281.4) |
| XYZ | xyz(15.1657, 11.9954, 41.5524) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.16
Twilight
#4E518B
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957AE #ACAE57
analogous
#5780AE #5957AE #8457AE
triadic
#5957AE #AE5957 #57AE59
tetradic
#5957AE #AE5780 #ACAE57 #57AE84
square
#5957AE #AE5780 #ACAE57 #57AE84
split-complementary
#5957AE #AE8457 #80AE57
monochromatic
#2E2D5E #434187 #5957AE #8280C2 #ABAAD6
Accessibility & contrast
On white
6.18
#5957AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5957AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957AE
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957AE | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#3A6A7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5957ae; /* rgb */ color: rgb(89, 87, 174); /* oklch */ color: oklch(50.3% 0.135 281.4);
Tailwind
colors: {
custom: {
50: '#8d86c7',
500: '#5957ae',
950: '#000000',
},
}SCSS
$custom: #5957ae; $custom-light: #8d86c7; $custom-dark: #000000;
JSON
{
"hex": "#5957ae",
"rgb": {
"r": 89,
"g": 87,
"b": 174
},
"hsl": {
"h": 241.379,
"s": 34.94,
"l": 51.176
},
"oklch": {
"l": 0.50291,
"c": 0.1348,
"h": 281.4
},
"luminance": 0.11996
}Semantic roles & 50–950 ramp
primary
#5957AE
secondary
#C3C49D
accent
#CB5DC8
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82