#5756C2#5756C2
#5756C2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.165 H 279.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5756C2 |
|---|---|
| RGB | rgb(87, 86, 194) |
| HSL | hsl(241, 47%, 55%) |
| HSV | hsv(241, 56%, 76%) |
| CMYK | cmyk(55.2%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(42.12, 31.17, -56.69) |
| CIE-LCH | lch(42.12, 64.69, 298.80°) |
| OKLab | oklab(51.35% 0.0266 -0.1623) |
| OKLCH | oklch(51.35% 0.165 279.3) |
| XYZ | xyz(16.9928, 12.5758, 52.5604) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.00
Warm Blue
#4B57DB
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 3.79
Dark Periwinkle
#665FD1
ΔE00 4.15
Light Indigo
#6D5ACF
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756C2 #C1C256
analogous
#568BC2 #5756C2 #8D56C2
triadic
#5756C2 #C25756 #56C257
tetradic
#5756C2 #C2568B #C1C256 #56C28D
square
#5756C2 #C2568B #C1C256 #56C28D
split-complementary
#5756C2 #C28D56 #8BC256
monochromatic
#2A2A74 #3B3AA1 #5756C2 #8483D2 #B0B0E2
Accessibility & contrast
On white
5.97
#5756C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5756C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756C2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756C2 | 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)
#0668C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#226F83
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5756c2; /* rgb */ color: rgb(87, 86, 194); /* oklch */ color: oklch(51.4% 0.165 279.3);
Tailwind
colors: {
custom: {
50: '#8f85d5',
500: '#5756c2',
950: '#000000',
},
}SCSS
$custom: #5756c2; $custom-light: #8f85d5; $custom-dark: #000000;
JSON
{
"hex": "#5756c2",
"rgb": {
"r": 87,
"g": 86,
"b": 194
},
"hsl": {
"h": 240.556,
"s": 46.957,
"l": 54.902
},
"oklch": {
"l": 0.51352,
"c": 0.16451,
"h": 279.3
},
"luminance": 0.12577
}Semantic roles & 50–950 ramp
primary
#5756C2
secondary
#D0D1A3
accent
#D751D5
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83