#5957CF#5957CF
#5957CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.180 H 279.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5957CF |
|---|---|
| RGB | rgb(89, 87, 207) |
| HSL | hsl(241, 56%, 58%) |
| HSV | hsv(241, 58%, 81%) |
| CMYK | cmyk(57%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(43.42, 35.12, -62.08) |
| CIE-LCH | lch(43.42, 71.32, 299.50°) |
| OKLab | oklab(52.65% 0.0281 -0.1781) |
| OKLCH | oklch(52.65% 0.18 279) |
| XYZ | xyz(18.7869, 13.4439, 60.6243) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.23
Warm Blue
#4B57DB
ΔE00 2.39
Slate Blue
#6A5ACD
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 3.09
Light Indigo
#6D5ACF
ΔE00 3.51
Bluey Purple
#6241C7
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957CF #CDCF57
analogous
#5791CF #5957CF #9557CF
triadic
#5957CF #CF5957 #57CF59
tetradic
#5957CF #CF5791 #CDCF57 #57CF95
square
#5957CF #CF5791 #CDCF57 #57CF95
split-complementary
#5957CF #CF9557 #91CF57
monochromatic
#282685 #3634B5 #5957CF #8887DD #B7B6EA
Accessibility & contrast
On white
5.69
#5957CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5957CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957CF
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957CF | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#13738A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5957cf; /* rgb */ color: rgb(89, 87, 207); /* oklch */ color: oklch(52.6% 0.180 279.0);
Tailwind
colors: {
custom: {
50: '#9286de',
500: '#5957cf',
950: '#000000',
},
}SCSS
$custom: #5957cf; $custom-light: #9286de; $custom-dark: #000000;
JSON
{
"hex": "#5957cf",
"rgb": {
"r": 89,
"g": 87,
"b": 207
},
"hsl": {
"h": 241,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.5265,
"c": 0.18034,
"h": 279
},
"luminance": 0.13445
}Semantic roles & 50–950 ramp
primary
#5957CF
secondary
#D8D9A9
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83