#5857BF#5857BF
#5857BF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.159 H 279.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5857BF |
|---|---|
| RGB | rgb(88, 87, 191) |
| HSL | hsl(241, 45%, 55%) |
| HSV | hsv(241, 54%, 75%) |
| CMYK | cmyk(53.9%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.23, 29.78, -54.75) |
| CIE-LCH | lch(42.23, 62.33, 298.55°) |
| OKLab | oklab(51.39% 0.0267 -0.1566) |
| OKLCH | oklch(51.39% 0.159 279.7) |
| XYZ | xyz(16.8337, 12.6516, 50.8351) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.95
Slate Blue
#6A5ACD
ΔE00 3.84
Warm Blue
#4B57DB
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 4.16
Light Indigo
#6D5ACF
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5857BF #BEBF57
analogous
#578ABF #5857BF #8C57BF
triadic
#5857BF #BF5857 #57BF58
tetradic
#5857BF #BF578A #BEBF57 #57BF8C
square
#5857BF #BF578A #BEBF57 #57BF8C
split-complementary
#5857BF #BF8C57 #8ABF57
monochromatic
#2C2B71 #3D3C9D #5857BF #8483D0 #B0B0E1
Accessibility & contrast
On white
5.95
#5857BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5857BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5857BF
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5857BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5857BF | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#296F82
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5857bf; /* rgb */ color: rgb(88, 87, 191); /* oklch */ color: oklch(51.4% 0.159 279.7);
Tailwind
colors: {
custom: {
50: '#8f86d3',
500: '#5857bf',
950: '#000000',
},
}SCSS
$custom: #5857bf; $custom-light: #8f86d3; $custom-dark: #000000;
JSON
{
"hex": "#5857bf",
"rgb": {
"r": 88,
"g": 87,
"b": 191
},
"hsl": {
"h": 240.577,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.51392,
"c": 0.15886,
"h": 279.7
},
"luminance": 0.12653
}Semantic roles & 50–950 ramp
primary
#5857BF
secondary
#CECFA3
accent
#D553D3
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83