#5657C0#5657C0
#5657C0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.161 H 278.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5657C0 |
|---|---|
| RGB | rgb(86, 87, 192) |
| HSL | hsl(239, 46%, 55%) |
| HSV | hsv(239, 55%, 75%) |
| CMYK | cmyk(55.2%, 54.7%, 0%, 24.7%) |
| CIE-LAB | lab(42.15, 29.70, -55.47) |
| CIE-LCH | lch(42.15, 62.92, 298.17°) |
| OKLab | oklab(51.32% 0.0243 -0.1588) |
| OKLCH | oklch(51.32% 0.161 278.7) |
| XYZ | xyz(16.7574, 12.5995, 51.4079) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.24
Warm Blue
#4B57DB
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.25
Light Indigo
#6D5ACF
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5657C0 #C0BF56
analogous
#568CC0 #5657C0 #8A56C0
triadic
#5657C0 #C05657 #57C056
tetradic
#5657C0 #C0568C #C0BF56 #56C08A
square
#5657C0 #C0568C #C0BF56 #56C08A
split-complementary
#5657C0 #C08A56 #8CC056
monochromatic
#2A2B71 #3B3C9E #5657C0 #8383D1 #AFB0E1
Accessibility & contrast
On white
5.97
#5657C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5657C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5657C0
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5657C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5657C0 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1368C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#216F83
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5657c0; /* rgb */ color: rgb(86, 87, 192); /* oklch */ color: oklch(51.3% 0.161 278.7);
Tailwind
colors: {
custom: {
50: '#8e86d4',
500: '#5657c0',
950: '#000000',
},
}SCSS
$custom: #5657c0; $custom-light: #8e86d4; $custom-dark: #000000;
JSON
{
"hex": "#5657c0",
"rgb": {
"r": 86,
"g": 87,
"b": 192
},
"hsl": {
"h": 239.434,
"s": 45.69,
"l": 54.51
},
"oklch": {
"l": 0.51316,
"c": 0.16063,
"h": 278.7
},
"luminance": 0.12601
}Semantic roles & 50–950 ramp
primary
#5657C0
secondary
#CFCFA2
accent
#D452D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83