#5957CA#5957CA
#5957CA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.174 H 279.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5957CA |
|---|---|
| RGB | rgb(89, 87, 202) |
| HSL | hsl(241, 52%, 57%) |
| HSV | hsv(241, 57%, 79%) |
| CMYK | cmyk(55.9%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(43.07, 33.51, -59.78) |
| CIE-LCH | lch(43.07, 68.53, 299.27°) |
| OKLab | oklab(52.27% 0.0281 -0.1714) |
| OKLCH | oklch(52.27% 0.174 279.3) |
| XYZ | xyz(18.1853, 13.2033, 57.4559) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.83
Warm Blue
#4B57DB
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.06
Dark Periwinkle
#665FD1
ΔE00 3.27
Light Indigo
#6D5ACF
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957CA #C8CA57
analogous
#578FCA #5957CA #9257CA
triadic
#5957CA #CA5957 #57CA59
tetradic
#5957CA #CA578F #C8CA57 #57CA92
square
#5957CA #CA578F #C8CA57 #57CA92
split-complementary
#5957CA #CA9257 #8FCA57
monochromatic
#29287F #3937AD #5957CA #8786D9 #B5B4E7
Accessibility & contrast
On white
5.77
#5957CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5957CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957CA
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957CA | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#1D7288
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5957ca; /* rgb */ color: rgb(89, 87, 202); /* oklch */ color: oklch(52.3% 0.174 279.3);
Tailwind
colors: {
custom: {
50: '#9186db',
500: '#5957ca',
950: '#000000',
},
}SCSS
$custom: #5957ca; $custom-light: #9186db; $custom-dark: #000000;
JSON
{
"hex": "#5957ca",
"rgb": {
"r": 89,
"g": 87,
"b": 202
},
"hsl": {
"h": 241.043,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.52273,
"c": 0.17365,
"h": 279.3
},
"luminance": 0.13205
}Semantic roles & 50–950 ramp
primary
#5957CA
secondary
#D5D6A7
accent
#DB4CD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83