#5957CE#5957CE
#5957CE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.179 H 279.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5957CE |
|---|---|
| RGB | rgb(89, 87, 206) |
| HSL | hsl(241, 55%, 57%) |
| HSV | hsv(241, 58%, 81%) |
| CMYK | cmyk(56.8%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(43.35, 34.79, -61.62) |
| CIE-LCH | lch(43.35, 70.77, 299.45°) |
| OKLab | oklab(52.57% 0.0281 -0.1768) |
| OKLCH | oklch(52.57% 0.179 279) |
| XYZ | xyz(18.6651, 13.3952, 59.9825) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.14
Warm Blue
#4B57DB
ΔE00 2.48
Slate Blue
#6A5ACD
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 3.12
Light Indigo
#6D5ACF
ΔE00 3.52
Bluey Purple
#6241C7
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957CE #CCCE57
analogous
#5791CE #5957CE #9457CE
triadic
#5957CE #CE5957 #57CE59
tetradic
#5957CE #CE5791 #CCCE57 #57CE94
square
#5957CE #CE5791 #CCCE57 #57CE94
split-complementary
#5957CE #CE9457 #91CE57
monochromatic
#282784 #3634B3 #5957CE #8886DC #B7B6EA
Accessibility & contrast
On white
5.71
#5957CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5957CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957CE
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957CE | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#16738A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5957ce; /* rgb */ color: rgb(89, 87, 206); /* oklch */ color: oklch(52.6% 0.179 279.0);
Tailwind
colors: {
custom: {
50: '#9286de',
500: '#5957ce',
950: '#000000',
},
}SCSS
$custom: #5957ce; $custom-light: #9286de; $custom-dark: #000000;
JSON
{
"hex": "#5957ce",
"rgb": {
"r": 89,
"g": 87,
"b": 206
},
"hsl": {
"h": 241.008,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.52574,
"c": 0.17901,
"h": 279
},
"luminance": 0.13396
}Semantic roles & 50–950 ramp
primary
#5957CE
secondary
#D8D8A8
accent
#DE4ADC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83