#5A57BF#5A57BF
#5A57BF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.5% C 0.159 H 280.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5A57BF |
|---|---|
| RGB | rgb(90, 87, 191) |
| HSL | hsl(242, 45%, 55%) |
| HSV | hsv(242, 54%, 75%) |
| CMYK | cmyk(52.9%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.38, 30.20, -54.50) |
| CIE-LCH | lch(42.38, 62.31, 298.99°) |
| OKLab | oklab(51.54% 0.0291 -0.1558) |
| OKLCH | oklch(51.54% 0.159 280.6) |
| XYZ | xyz(17.0257, 12.7506, 50.8441) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.62
Slate Blue
#6A5ACD
ΔE00 3.56
Dark Periwinkle
#665FD1
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 4.16
Warm Blue
#4B57DB
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A57BF #BCBF57
analogous
#5788BF #5A57BF #8E57BF
triadic
#5A57BF #BF5A57 #57BF5A
tetradic
#5A57BF #BF5788 #BCBF57 #57BF8E
square
#5A57BF #BF5788 #BCBF57 #57BF8E
split-complementary
#5A57BF #BF8E57 #88BF57
monochromatic
#2D2B71 #3F3C9D #5A57BF #8683D0 #B1B0E1
Accessibility & contrast
On white
5.91
#5A57BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5A57BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A57BF
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A57BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A57BF | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#0360BD
Tritanopia (blue-blind)
#2F6F82
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a57bf; /* rgb */ color: rgb(90, 87, 191); /* oklch */ color: oklch(51.5% 0.159 280.6);
Tailwind
colors: {
custom: {
50: '#9086d3',
500: '#5a57bf',
950: '#000000',
},
}SCSS
$custom: #5a57bf; $custom-light: #9086d3; $custom-dark: #000000;
JSON
{
"hex": "#5a57bf",
"rgb": {
"r": 90,
"g": 87,
"b": 191
},
"hsl": {
"h": 241.731,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.51543,
"c": 0.1585,
"h": 280.6
},
"luminance": 0.12752
}Semantic roles & 50–950 ramp
primary
#5A57BF
secondary
#CECFA3
accent
#D553D1
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83