#5756BF#5756BF
#5756BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.160 H 279.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5756BF |
|---|---|
| RGB | rgb(87, 86, 191) |
| HSL | hsl(241, 45%, 54%) |
| HSV | hsv(241, 55%, 75%) |
| CMYK | cmyk(54.5%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(41.91, 30.20, -55.28) |
| CIE-LCH | lch(41.91, 62.99, 298.65°) |
| OKLab | oklab(51.13% 0.0265 -0.1582) |
| OKLCH | oklch(51.13% 0.16 279.5) |
| XYZ | xyz(16.6593, 12.4423, 50.8039) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.11
Slate Blue
#6A5ACD
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.40
Light Indigo
#6D5ACF
ΔE00 4.61
Ocean Blue
#4F42B5
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756BF #BEBF56
analogous
#568ABF #5756BF #8B56BF
triadic
#5756BF #BF5756 #56BF57
tetradic
#5756BF #BF568A #BEBF56 #56BF8B
square
#5756BF #BF568A #BEBF56 #56BF8B
split-complementary
#5756BF #BF8B56 #8ABF56
monochromatic
#2B2A70 #3C3B9D #5756BF #8382D0 #AFAFE1
Accessibility & contrast
On white
6.02
#5756BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5756BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756BF
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756BF | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#266E82
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5756bf; /* rgb */ color: rgb(87, 86, 191); /* oklch */ color: oklch(51.1% 0.160 279.5);
Tailwind
colors: {
custom: {
50: '#8f85d3',
500: '#5756bf',
950: '#000000',
},
}SCSS
$custom: #5756bf; $custom-light: #8f85d3; $custom-dark: #000000;
JSON
{
"hex": "#5756bf",
"rgb": {
"r": 87,
"g": 86,
"b": 191
},
"hsl": {
"h": 240.571,
"s": 45.064,
"l": 54.314
},
"oklch": {
"l": 0.51132,
"c": 0.1604,
"h": 279.5
},
"luminance": 0.12443
}Semantic roles & 50–950 ramp
primary
#5756BF
secondary
#CECFA2
accent
#D553D4
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83