#5957C8#5957C8
#5957C8 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.171 H 279.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5957C8 |
|---|---|
| RGB | rgb(89, 87, 200) |
| HSL | hsl(241, 51%, 56%) |
| HSV | hsv(241, 57%, 78%) |
| CMYK | cmyk(55.5%, 56.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.93, 32.87, -58.85) |
| CIE-LCH | lch(42.93, 67.41, 299.19°) |
| OKLab | oklab(52.12% 0.0281 -0.1686) |
| OKLCH | oklch(52.12% 0.171 279.5) |
| XYZ | xyz(17.9501, 13.1092, 56.2168) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.72
Warm Blue
#4B57DB
ΔE00 3.09
Slate Blue
#6A5ACD
ΔE00 3.13
Dark Periwinkle
#665FD1
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 3.71
Bluey Purple
#6241C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957C8 #C6C857
analogous
#578EC8 #5957C8 #9257C8
triadic
#5957C8 #C85957 #57C859
tetradic
#5957C8 #C8578E #C6C857 #57C892
square
#5957C8 #C8578E #C6C857 #57C892
split-complementary
#5957C8 #C89257 #8EC857
monochromatic
#2A297C #3A38AA #5957C8 #8785D7 #B4B3E6
Accessibility & contrast
On white
5.80
#5957C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5957C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957C8
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957C8 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#217187
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5957c8; /* rgb */ color: rgb(89, 87, 200); /* oklch */ color: oklch(52.1% 0.171 279.5);
Tailwind
colors: {
custom: {
50: '#9186d9',
500: '#5957c8',
950: '#000000',
},
}SCSS
$custom: #5957c8; $custom-light: #9186d9; $custom-dark: #000000;
JSON
{
"hex": "#5957c8",
"rgb": {
"r": 89,
"g": 87,
"b": 200
},
"hsl": {
"h": 241.062,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.52124,
"c": 0.17096,
"h": 279.5
},
"luminance": 0.1311
}Semantic roles & 50–950 ramp
primary
#5957C8
secondary
#D4D5A6
accent
#DA4ED8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83