#5957E3#5957E3
#5957E3 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.206 H 277.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5957E3 |
|---|---|
| RGB | rgb(89, 87, 227) |
| HSL | hsl(241, 71%, 62%) |
| HSV | hsv(241, 62%, 89%) |
| CMYK | cmyk(60.8%, 61.7%, 0%, 11%) |
| CIE-LAB | lab(44.92, 41.54, -71.07) |
| CIE-LCH | lch(44.92, 82.31, 300.31°) |
| OKLab | oklab(54.22% 0.0274 -0.2045) |
| OKLCH | oklch(54.22% 0.206 277.6) |
| XYZ | xyz(21.3887, 14.4846, 74.3269) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.36
Dark Periwinkle
#665FD1
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.15
Iris
#6258C4
ΔE00 4.45
Electric Blue
#0652FF
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5957E3 #E1E357
analogous
#579BE3 #5957E3 #9F57E3
triadic
#5957E3 #E35957 #57E359
tetradic
#5957E3 #E3579B #E1E357 #57E39F
square
#5957E3 #E3579B #E1E357 #57E39F
split-complementary
#5957E3 #E39F57 #9BE357
monochromatic
#1D1BA4 #2724D9 #5957E3 #8D8BEC #C1C0F4
Accessibility & contrast
On white
5.39
#5957E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#5957E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5957E3
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5957E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5957E3 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5957e3; /* rgb */ color: rgb(89, 87, 227); /* oklch */ color: oklch(54.2% 0.206 277.6);
Tailwind
colors: {
custom: {
50: '#9587ed',
500: '#5957e3',
950: '#000000',
},
}SCSS
$custom: #5957e3; $custom-light: #9587ed; $custom-dark: #000000;
JSON
{
"hex": "#5957e3",
"rgb": {
"r": 89,
"g": 87,
"b": 227
},
"hsl": {
"h": 240.857,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.54221,
"c": 0.20638,
"h": 277.6
},
"luminance": 0.14486
}Semantic roles & 50–950 ramp
primary
#5957E3
secondary
#E4E5B1
accent
#D312D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84