#5957DC#5957DC
#5957DC is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.7% C 0.197 H 278.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #5957DC |
|---|---|
| RGB | rgb(89, 87, 220) |
| HSL | hsl(241, 66%, 60%) |
| HSV | hsv(241, 60%, 86%) |
| CMYK | cmyk(59.5%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(44.38, 39.29, -67.96) |
| CIE-LCH | lch(44.38, 78.50, 300.04°) |
| OKLab | oklab(53.66% 0.0278 -0.1954) |
| OKLCH | oklch(53.66% 0.197 278.1) |
| XYZ | xyz(20.4421, 14.1060, 69.3418) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.99
Dark Periwinkle
#665FD1
ΔE00 3.26
Slate Blue
#6A5ACD
ΔE00 3.46
Iris
#6258C4
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 3.75
Electric Blue
#0652FF
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957DC #DADC57
analogous
#5798DC #5957DC #9B57DC
triadic
#5957DC #DC5957 #57DC59
tetradic
#5957DC #DC5798 #DADC57 #57DC9B
square
#5957DC #DC5798 #DADC57 #57DC9B
split-complementary
#5957DC #DC9B57 #98DC57
monochromatic
#222099 #2D2ACB #5957DC #8B8AE7 #BDBCF1
Accessibility & contrast
On white
5.50
#5957DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5957DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957DC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957DC | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5957dc; /* rgb */ color: rgb(89, 87, 220); /* oklch */ color: oklch(53.7% 0.197 278.1);
Tailwind
colors: {
custom: {
50: '#9487e8',
500: '#5957dc',
950: '#000000',
},
}SCSS
$custom: #5957dc; $custom-light: #9487e8; $custom-dark: #000000;
JSON
{
"hex": "#5957dc",
"rgb": {
"r": 89,
"g": 87,
"b": 220
},
"hsl": {
"h": 240.902,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.5366,
"c": 0.19739,
"h": 278.1
},
"luminance": 0.14108
}Semantic roles & 50–950 ramp
primary
#5957DC
secondary
#E0E1AE
accent
#CD18CB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84