#5756CF#5756CF
#5756CF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.182 H 278.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5756CF |
|---|---|
| RGB | rgb(87, 86, 207) |
| HSL | hsl(240, 56%, 57%) |
| HSV | hsv(240, 58%, 81%) |
| CMYK | cmyk(58%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.04, 35.37, -62.71) |
| CIE-LCH | lch(43.04, 71.99, 299.42°) |
| OKLab | oklab(52.33% 0.0267 -0.18) |
| OKLCH | oklch(52.33% 0.182 278.4) |
| XYZ | xyz(18.5172, 13.1855, 60.5887) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.23
Iris
#6258C4
ΔE00 2.47
Slate Blue
#6A5ACD
ΔE00 3.35
Dark Periwinkle
#665FD1
ΔE00 3.49
Light Indigo
#6D5ACF
ΔE00 3.85
Bluey Purple
#6241C7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5756CF #CECF56
analogous
#5691CF #5756CF #9456CF
triadic
#5756CF #CF5756 #56CF57
tetradic
#5756CF #CF5691 #CECF56 #56CF94
square
#5756CF #CF5691 #CECF56 #56CF94
split-complementary
#5756CF #CF9456 #91CF56
monochromatic
#272685 #3433B5 #5756CF #8686DD #B6B5EA
Accessibility & contrast
On white
5.77
#5756CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5756CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5756CF
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5756CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5756CF | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#03738A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5756cf; /* rgb */ color: rgb(87, 86, 207); /* oklch */ color: oklch(52.3% 0.182 278.4);
Tailwind
colors: {
custom: {
50: '#9186de',
500: '#5756cf',
950: '#000000',
},
}SCSS
$custom: #5756cf; $custom-light: #9186de; $custom-dark: #000000;
JSON
{
"hex": "#5756cf",
"rgb": {
"r": 87,
"g": 86,
"b": 207
},
"hsl": {
"h": 240.496,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.5233,
"c": 0.18201,
"h": 278.4
},
"luminance": 0.13187
}Semantic roles & 50–950 ramp
primary
#5756CF
secondary
#D8D9A8
accent
#DF49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83