#5657BA#5657BA
#5657BA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.9% C 0.152 H 279.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5657BA |
|---|---|
| RGB | rgb(86, 87, 186) |
| HSL | hsl(239, 42%, 53%) |
| HSV | hsv(239, 54%, 73%) |
| CMYK | cmyk(53.8%, 53.2%, 0%, 27.1%) |
| CIE-LAB | lab(41.75, 27.76, -52.62) |
| CIE-LCH | lch(41.75, 59.50, 297.82°) |
| OKLab | oklab(50.89% 0.024 -0.1504) |
| OKLCH | oklch(50.89% 0.152 279.1) |
| XYZ | xyz(16.1061, 12.3390, 47.9778) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.64
Slate Blue
#6A5ACD
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 4.73
Dark Periwinkle
#665FD1
ΔE00 4.82
Light Indigo
#6D5ACF
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5657BA #BAB956
analogous
#5689BA #5657BA #8756BA
triadic
#5657BA #BA5657 #57BA56
tetradic
#5657BA #BA5689 #BAB956 #56BA87
square
#5657BA #BA5689 #BAB956 #56BA87
split-complementary
#5657BA #BA8756 #89BA56
monochromatic
#2B2C6A #3D3E96 #5657BA #8182CC #ADADDD
Accessibility & contrast
On white
6.06
#5657BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5657BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5657BA
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5657BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5657BA | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F67BD
Deuteranopia (green-blind)
#0E5FB8
Tritanopia (blue-blind)
#296D80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5657ba; /* rgb */ color: rgb(86, 87, 186); /* oklch */ color: oklch(50.9% 0.152 279.1);
Tailwind
colors: {
custom: {
50: '#8d86cf',
500: '#5657ba',
950: '#000000',
},
}SCSS
$custom: #5657ba; $custom-light: #8d86cf; $custom-dark: #000000;
JSON
{
"hex": "#5657ba",
"rgb": {
"r": 86,
"g": 87,
"b": 186
},
"hsl": {
"h": 239.4,
"s": 42.017,
"l": 53.333
},
"oklch": {
"l": 0.50886,
"c": 0.15231,
"h": 279.1
},
"luminance": 0.1234
}Semantic roles & 50–950 ramp
primary
#5657BA
secondary
#CBCBA0
accent
#D156D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82