#5758CF#5758CF
#5758CF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.179 H 277.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5758CF |
|---|---|
| RGB | rgb(87, 88, 207) |
| HSL | hsl(240, 56%, 58%) |
| HSV | hsv(240, 58%, 81%) |
| CMYK | cmyk(58%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.52, 34.14, -61.93) |
| CIE-LCH | lch(43.52, 70.72, 298.87°) |
| OKLab | oklab(52.69% 0.0247 -0.1777) |
| OKLCH | oklch(52.69% 0.179 277.9) |
| XYZ | xyz(18.6791, 13.5093, 60.6426) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.13
Iris
#6258C4
ΔE00 2.49
Dark Periwinkle
#665FD1
ΔE00 3.11
Slate Blue
#6A5ACD
ΔE00 3.30
Light Indigo
#6D5ACF
ΔE00 3.82
Azul
#1D5DEC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5758CF #CFCE57
analogous
#5794CF #5758CF #9257CF
triadic
#5758CF #CF5758 #58CF57
tetradic
#5758CF #CF5794 #CFCE57 #57CF92
square
#5758CF #CF5794 #CFCE57 #57CF92
split-complementary
#5758CF #CF9257 #94CF57
monochromatic
#262785 #3435B5 #5758CF #8787DD #B6B7EA
Accessibility & contrast
On white
5.67
#5758CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#5758CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5758CF
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5758CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5758CF | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#02748B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5758cf; /* rgb */ color: rgb(87, 88, 207); /* oklch */ color: oklch(52.7% 0.179 277.9);
Tailwind
colors: {
custom: {
50: '#9187de',
500: '#5758cf',
950: '#000000',
},
}SCSS
$custom: #5758cf; $custom-light: #9187de; $custom-dark: #000000;
JSON
{
"hex": "#5758cf",
"rgb": {
"r": 87,
"g": 88,
"b": 207
},
"hsl": {
"h": 239.5,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.52685,
"c": 0.17946,
"h": 277.9
},
"luminance": 0.13511
}Semantic roles & 50–950 ramp
primary
#5758CF
secondary
#D9D9A9
accent
#DE49DF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83