#5758E3#5758E3
#5758E3 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.206 H 276.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5758E3 |
|---|---|
| RGB | rgb(87, 88, 227) |
| HSL | hsl(240, 71%, 62%) |
| HSV | hsv(240, 62%, 89%) |
| CMYK | cmyk(61.7%, 61.2%, 0%, 11%) |
| CIE-LAB | lab(45.01, 40.63, -70.92) |
| CIE-LCH | lch(45.01, 81.74, 299.81°) |
| OKLab | oklab(54.25% 0.0242 -0.2042) |
| OKLCH | oklch(54.25% 0.206 276.8) |
| XYZ | xyz(21.2808, 14.5500, 74.3451) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.11
Dark Periwinkle
#665FD1
ΔE00 3.63
Slate Blue
#6A5ACD
ΔE00 4.15
Light Indigo
#6D5ACF
ΔE00 4.35
Iris
#6258C4
ΔE00 4.54
Electric Blue
#0652FF
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5758E3 #E3E257
analogous
#579EE3 #5758E3 #9C57E3
triadic
#5758E3 #E35758 #58E357
tetradic
#5758E3 #E3579E #E3E257 #57E39C
square
#5758E3 #E3579E #E3E257 #57E39C
split-complementary
#5758E3 #E39C57 #9EE357
monochromatic
#1B1CA4 #2425D9 #5758E3 #8B8CEC #C0C0F4
Accessibility & contrast
On white
5.37
#5758E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5758E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5758E3
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5758E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5758E3 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5758e3; /* rgb */ color: rgb(87, 88, 227); /* oklch */ color: oklch(54.3% 0.206 276.8);
Tailwind
colors: {
custom: {
50: '#9487ed',
500: '#5758e3',
950: '#000000',
},
}SCSS
$custom: #5758e3; $custom-light: #9487ed; $custom-dark: #000000;
JSON
{
"hex": "#5758e3",
"rgb": {
"r": 87,
"g": 88,
"b": 227
},
"hsl": {
"h": 239.571,
"s": 71.429,
"l": 61.569
},
"oklch": {
"l": 0.54253,
"c": 0.20561,
"h": 276.8
},
"luminance": 0.14552
}Semantic roles & 50–950 ramp
primary
#5758E3
secondary
#E5E5B1
accent
#D212D3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84