#5657BF#5657BF
#5657BF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.159 H 278.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5657BF |
|---|---|
| RGB | rgb(86, 87, 191) |
| HSL | hsl(239, 45%, 54%) |
| HSV | hsv(239, 55%, 75%) |
| CMYK | cmyk(55%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.09, 29.38, -55.00) |
| CIE-LCH | lch(42.09, 62.35, 298.11°) |
| OKLab | oklab(51.24% 0.0243 -0.1574) |
| OKLCH | oklch(51.24% 0.159 278.8) |
| XYZ | xyz(16.6470, 12.5553, 50.8263) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.29
Warm Blue
#4B57DB
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5657BF #BFBE56
analogous
#568BBF #5657BF #8A56BF
triadic
#5657BF #BF5657 #57BF56
tetradic
#5657BF #BF568B #BFBE56 #56BF8A
square
#5657BF #BF568B #BFBE56 #56BF8A
split-complementary
#5657BF #BF8A56 #8BBF56
monochromatic
#2A2B70 #3B3C9D #5657BF #8283D0 #AFAFE1
Accessibility & contrast
On white
5.98
#5657BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5657BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5657BF
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5657BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5657BF | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#226F82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5657bf; /* rgb */ color: rgb(86, 87, 191); /* oklch */ color: oklch(51.2% 0.159 278.8);
Tailwind
colors: {
custom: {
50: '#8e86d3',
500: '#5657bf',
950: '#000000',
},
}SCSS
$custom: #5657bf; $custom-light: #8e86d3; $custom-dark: #000000;
JSON
{
"hex": "#5657bf",
"rgb": {
"r": 86,
"g": 87,
"b": 191
},
"hsl": {
"h": 239.429,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.51244,
"c": 0.15925,
"h": 278.8
},
"luminance": 0.12556
}Semantic roles & 50–950 ramp
primary
#5657BF
secondary
#CFCEA2
accent
#D453D5
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83