#5758C8#5758C8
#5758C8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.170 H 278.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5758C8 |
|---|---|
| RGB | rgb(87, 88, 200) |
| HSL | hsl(239, 51%, 56%) |
| HSV | hsv(239, 57%, 78%) |
| CMYK | cmyk(56.5%, 56%, 0%, 21.6%) |
| CIE-LAB | lab(43.03, 31.87, -58.70) |
| CIE-LCH | lch(43.03, 66.79, 298.50°) |
| OKLab | oklab(52.16% 0.0247 -0.1682) |
| OKLCH | oklch(52.16% 0.17 278.3) |
| XYZ | xyz(17.8422, 13.1746, 56.2351) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.08
Warm Blue
#4B57DB
ΔE00 2.89
Dark Periwinkle
#665FD1
ΔE00 3.41
Slate Blue
#6A5ACD
ΔE00 3.44
Light Indigo
#6D5ACF
ΔE00 4.03
Azul
#1D5DEC
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5758C8 #C8C757
analogous
#5791C8 #5758C8 #8F57C8
triadic
#5758C8 #C85758 #58C857
tetradic
#5758C8 #C85791 #C8C757 #57C88F
square
#5758C8 #C85791 #C8C757 #57C88F
split-complementary
#5758C8 #C88F57 #91C857
monochromatic
#29297C #3839AA #5758C8 #8586D7 #B3B4E6
Accessibility & contrast
On white
5.78
#5758C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5758C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5758C8
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5758C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5758C8 | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#187287
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5758c8; /* rgb */ color: rgb(87, 88, 200); /* oklch */ color: oklch(52.2% 0.170 278.3);
Tailwind
colors: {
custom: {
50: '#9087d9',
500: '#5758c8',
950: '#000000',
},
}SCSS
$custom: #5758c8; $custom-light: #9087d9; $custom-dark: #000000;
JSON
{
"hex": "#5758c8",
"rgb": {
"r": 87,
"g": 88,
"b": 200
},
"hsl": {
"h": 239.469,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.5216,
"c": 0.17004,
"h": 278.3
},
"luminance": 0.13176
}Semantic roles & 50–950 ramp
primary
#5758C8
secondary
#D5D4A6
accent
#D94EDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83