#5756B2#5756B2
#5756B2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.142 H 280.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5756B2 |
|---|---|
| RGB | rgb(87, 86, 178) |
| HSL | hsl(241, 37%, 52%) |
| HSV | hsv(241, 52%, 70%) |
| CMYK | cmyk(51.1%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(41.05, 26.04, -49.05) |
| CIE-LCH | lch(41.05, 55.54, 297.96°) |
| OKLab | oklab(50.21% 0.0258 -0.1399) |
| OKLCH | oklch(50.21% 0.142 280.5) |
| XYZ | xyz(15.2917, 11.8953, 43.6011) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.37
Slate Blue
#6A5ACD
ΔE00 5.31
Dark Periwinkle
#665FD1
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 5.88
Warm Blue
#4B57DB
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756B2 #B1B256
analogous
#5683B2 #5756B2 #8556B2
triadic
#5756B2 #B25756 #56B257
tetradic
#5756B2 #B25683 #B1B256 #56B285
square
#5756B2 #B25683 #B1B256 #56B285
split-complementary
#5756B2 #B28556 #83B256
monochromatic
#2D2C61 #403F8B #5756B2 #8180C5 #ABAAD8
Accessibility & contrast
On white
6.21
#5756B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#5756B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756B2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756B2 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#336A7C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5756b2; /* rgb */ color: rgb(87, 86, 178); /* oklch */ color: oklch(50.2% 0.142 280.5);
Tailwind
colors: {
custom: {
50: '#8d85ca',
500: '#5756b2',
950: '#000000',
},
}SCSS
$custom: #5756b2; $custom-light: #8d85ca; $custom-dark: #000000;
JSON
{
"hex": "#5756b2",
"rgb": {
"r": 87,
"g": 86,
"b": 178
},
"hsl": {
"h": 240.652,
"s": 37.398,
"l": 51.765
},
"oklch": {
"l": 0.50213,
"c": 0.14225,
"h": 280.5
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#5756B2
secondary
#C6C69E
accent
#CD5ACC
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82