#5857B2#5857B2
#5857B2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.141 H 280.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5857B2 |
|---|---|
| RGB | rgb(88, 87, 178) |
| HSL | hsl(241, 37%, 52%) |
| HSV | hsv(241, 51%, 70%) |
| CMYK | cmyk(50.6%, 51.1%, 0%, 30.2%) |
| CIE-LAB | lab(41.38, 25.64, -48.52) |
| CIE-LCH | lch(41.38, 54.87, 297.85°) |
| OKLab | oklab(50.48% 0.0259 -0.1383) |
| OKLCH | oklch(50.48% 0.141 280.6) |
| XYZ | xyz(15.4661, 12.1046, 43.6323) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 5.20
Dark Periwinkle
#665FD1
ΔE00 5.60
Light Indigo
#6D5ACF
ΔE00 5.77
Warm Blue
#4B57DB
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5857B2 #B1B257
analogous
#5784B2 #5857B2 #8657B2
triadic
#5857B2 #B25857 #57B258
tetradic
#5857B2 #B25784 #B1B257 #57B286
square
#5857B2 #B25784 #B1B257 #57B286
split-complementary
#5857B2 #B28657 #84B257
monochromatic
#2D2D62 #41408C #5857B2 #8281C5 #ABABD8
Accessibility & contrast
On white
6.14
#5857B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5857B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5857B2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5857B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5857B2 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B65B5
Deuteranopia (green-blind)
#225EB0
Tritanopia (blue-blind)
#356B7C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5857b2; /* rgb */ color: rgb(88, 87, 178); /* oklch */ color: oklch(50.5% 0.141 280.6);
Tailwind
colors: {
custom: {
50: '#8d86ca',
500: '#5857b2',
950: '#000000',
},
}SCSS
$custom: #5857b2; $custom-light: #8d86ca; $custom-dark: #000000;
JSON
{
"hex": "#5857b2",
"rgb": {
"r": 88,
"g": 87,
"b": 178
},
"hsl": {
"h": 240.659,
"s": 37.143,
"l": 51.961
},
"oklch": {
"l": 0.50482,
"c": 0.14067,
"h": 280.6
},
"luminance": 0.12105
}Semantic roles & 50–950 ramp
primary
#5857B2
secondary
#C6C69E
accent
#CD5BCC
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82