#5754E3#5754E3
#5754E3 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.210 H 277.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5754E3 |
|---|---|
| RGB | rgb(87, 84, 227) |
| HSL | hsl(241, 72%, 61%) |
| HSV | hsv(241, 63%, 89%) |
| CMYK | cmyk(61.7%, 63%, 0%, 11%) |
| CIE-LAB | lab(44.11, 43.01, -72.40) |
| CIE-LCH | lch(44.11, 84.21, 300.71°) |
| OKLab | oklab(53.59% 0.0275 -0.2085) |
| OKLCH | oklch(53.59% 0.21 277.5) |
| XYZ | xyz(20.9615, 13.9113, 74.2387) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.36
Slate Blue
#6A5ACD
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.47
Iris
#6258C4
ΔE00 4.56
Electric Blue
#0652FF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5754E3 #E0E354
analogous
#5498E3 #5754E3 #9E54E3
triadic
#5754E3 #E35754 #54E357
tetradic
#5754E3 #E35498 #E0E354 #54E39E
square
#5754E3 #E35498 #E0E354 #54E39E
split-complementary
#5754E3 #E39E54 #98E354
monochromatic
#1D1BA2 #2723D7 #5754E3 #8B89EC #BEBDF4
Accessibility & contrast
On white
5.55
#5754E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5754E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5754E3
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5754E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5754E3 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5754e3; /* rgb */ color: rgb(87, 84, 227); /* oklch */ color: oklch(53.6% 0.210 277.5);
Tailwind
colors: {
custom: {
50: '#9585ed',
500: '#5754e3',
950: '#000000',
},
}SCSS
$custom: #5754e3; $custom-light: #9585ed; $custom-dark: #000000;
JSON
{
"hex": "#5754e3",
"rgb": {
"r": 87,
"g": 84,
"b": 227
},
"hsl": {
"h": 241.259,
"s": 71.859,
"l": 60.98
},
"oklch": {
"l": 0.53589,
"c": 0.21035,
"h": 277.5
},
"luminance": 0.13913
}Semantic roles & 50–950 ramp
primary
#5754E3
secondary
#E3E4AE
accent
#D412D0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84