#5F57E9#5F57E9
#5F57E9 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.1% C 0.213 H 279.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57E9 |
|---|---|
| RGB | rgb(95, 87, 233) |
| HSL | hsl(243, 77%, 63%) |
| HSV | hsv(243, 63%, 91%) |
| CMYK | cmyk(59.2%, 62.7%, 0%, 8.6%) |
| CIE-LAB | lab(45.81, 44.38, -72.98) |
| CIE-LCH | lch(45.81, 85.42, 301.30°) |
| OKLab | oklab(55.13% 0.0342 -0.21) |
| OKLCH | oklch(55.13% 0.213 279.2) |
| XYZ | xyz(22.8308, 15.1308, 78.7924) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.59
Dark Periwinkle
#665FD1
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.13
Iris
#6258C4
ΔE00 5.09
Purpleish Blue
#6140EF
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57E9 #E1E957
analogous
#5798E9 #5F57E9 #A857E9
triadic
#5F57E9 #E95F57 #57E95F
tetradic
#5F57E9 #E95798 #E1E957 #57E9A8
square
#5F57E9 #E95798 #E1E957 #57E9A8
split-complementary
#5F57E9 #E9A857 #98E957
monochromatic
#1F17AF #2B21E2 #5F57E9 #938DF0 #C6C3F7
Accessibility & contrast
On white
5.22
#5F57E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5F57E9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57E9
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57E9 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f57e9; /* rgb */ color: rgb(95, 87, 233); /* oklch */ color: oklch(55.1% 0.213 279.2);
Tailwind
colors: {
custom: {
50: '#9987f1',
500: '#5f57e9',
950: '#000000',
},
}SCSS
$custom: #5f57e9; $custom-light: #9987f1; $custom-dark: #000000;
JSON
{
"hex": "#5f57e9",
"rgb": {
"r": 95,
"g": 87,
"b": 233
},
"hsl": {
"h": 243.288,
"s": 76.842,
"l": 62.745
},
"oklch": {
"l": 0.55128,
"c": 0.21278,
"h": 279.2
},
"luminance": 0.15132
}Semantic roles & 50–950 ramp
primary
#5F57E9
secondary
#E5E8B3
accent
#D90CCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85