#5758AE#5758AE
#5758AE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.134 H 280.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5758AE |
|---|---|
| RGB | rgb(87, 88, 174) |
| HSL | hsl(239, 35%, 51%) |
| HSV | hsv(239, 50%, 68%) |
| CMYK | cmyk(50%, 49.4%, 0%, 31.8%) |
| CIE-LAB | lab(41.31, 23.51, -46.28) |
| CIE-LCH | lch(41.31, 51.91, 296.93°) |
| OKLab | oklab(50.33% 0.0231 -0.1317) |
| OKLCH | oklch(50.33% 0.134 280) |
| XYZ | xyz(15.0578, 12.0608, 41.5707) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.99
Slate Blue
#6A5ACD
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 6.11
Twilight
#4E518B
ΔE00 6.25
Light Indigo
#6D5ACF
ΔE00 6.41
Dusky Blue
#475F94
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5758AE #AEAD57
analogous
#5783AE #5758AE #8157AE
triadic
#5758AE #AE5758 #58AE57
tetradic
#5758AE #AE5783 #AEAD57 #57AE81
square
#5758AE #AE5783 #AEAD57 #57AE81
split-complementary
#5758AE #AE8157 #83AE57
monochromatic
#2D2E5E #414287 #5758AE #8081C2 #AAAAD6
Accessibility & contrast
On white
6.15
#5758AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5758AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5758AE
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5758AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5758AE | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#366B7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5758ae; /* rgb */ color: rgb(87, 88, 174); /* oklch */ color: oklch(50.3% 0.134 280.0);
Tailwind
colors: {
custom: {
50: '#8c87c7',
500: '#5758ae',
950: '#000000',
},
}SCSS
$custom: #5758ae; $custom-light: #8c87c7; $custom-dark: #000000;
JSON
{
"hex": "#5758ae",
"rgb": {
"r": 87,
"g": 88,
"b": 174
},
"hsl": {
"h": 239.31,
"s": 34.94,
"l": 51.176
},
"oklch": {
"l": 0.5033,
"c": 0.13372,
"h": 280
},
"luminance": 0.12062
}Semantic roles & 50–950 ramp
primary
#5758AE
secondary
#C4C39D
accent
#CA5DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82