#5756BB#5756BB
#5756BB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.155 H 279.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5756BB |
|---|---|
| RGB | rgb(87, 86, 187) |
| HSL | hsl(241, 43%, 54%) |
| HSV | hsv(241, 54%, 73%) |
| CMYK | cmyk(53.5%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(41.64, 28.92, -53.38) |
| CIE-LCH | lch(41.64, 60.71, 298.45°) |
| OKLab | oklab(50.84% 0.0264 -0.1526) |
| OKLCH | oklch(50.84% 0.155 279.8) |
| XYZ | xyz(16.2251, 12.2687, 48.5172) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.39
Slate Blue
#6A5ACD
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.68
Dark Periwinkle
#665FD1
ΔE00 4.77
Light Indigo
#6D5ACF
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756BB #BABB56
analogous
#5687BB #5756BB #8956BB
triadic
#5756BB #BB5756 #56BB57
tetradic
#5756BB #BB5687 #BABB56 #56BB89
square
#5756BB #BB5687 #BABB56 #56BB89
split-complementary
#5756BB #BB8956 #87BB56
monochromatic
#2C2B6B #3E3D97 #5756BB #8282CD #AEADDE
Accessibility & contrast
On white
6.08
#5756BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5756BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756BB
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756BB | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#065EB9
Tritanopia (blue-blind)
#2B6D80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5756bb; /* rgb */ color: rgb(87, 86, 187); /* oklch */ color: oklch(50.8% 0.155 279.8);
Tailwind
colors: {
custom: {
50: '#8e85d0',
500: '#5756bb',
950: '#000000',
},
}SCSS
$custom: #5756bb; $custom-light: #8e85d0; $custom-dark: #000000;
JSON
{
"hex": "#5756bb",
"rgb": {
"r": 87,
"g": 86,
"b": 187
},
"hsl": {
"h": 240.594,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.50844,
"c": 0.15487,
"h": 279.8
},
"luminance": 0.1227
}Semantic roles & 50–950 ramp
primary
#5756BB
secondary
#CCCCA1
accent
#D255D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82