#5C56CF#5C56CF
#5C56CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.7% C 0.181 H 280.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5C56CF |
|---|---|
| RGB | rgb(92, 86, 207) |
| HSL | hsl(243, 56%, 57%) |
| HSV | hsv(243, 58%, 81%) |
| CMYK | cmyk(55.6%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.41, 36.27, -62.09) |
| CIE-LCH | lch(43.41, 71.91, 300.29°) |
| OKLab | oklab(52.7% 0.0327 -0.1781) |
| OKLCH | oklch(52.7% 0.181 280.4) |
| XYZ | xyz(19.0004, 13.4347, 60.6113) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.97
Slate Blue
#6A5ACD
ΔE00 2.61
Warm Blue
#4B57DB
ΔE00 2.86
Dark Periwinkle
#665FD1
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.09
Bluey Purple
#6241C7
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C56CF #C9CF56
analogous
#568DCF #5C56CF #9856CF
triadic
#5C56CF #CF5C56 #56CF5C
tetradic
#5C56CF #CF568D #C9CF56 #56CF98
square
#5C56CF #CF568D #C9CF56 #56CF98
split-complementary
#5C56CF #CF9856 #8DCF56
monochromatic
#2A2685 #3A33B5 #5C56CF #8A86DD #B8B5EA
Accessibility & contrast
On white
5.70
#5C56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5C56CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C56CF
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C56CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C56CF | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#22738A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5c56cf; /* rgb */ color: rgb(92, 86, 207); /* oklch */ color: oklch(52.7% 0.181 280.4);
Tailwind
colors: {
custom: {
50: '#9486de',
500: '#5c56cf',
950: '#000000',
},
}SCSS
$custom: #5c56cf; $custom-light: #9486de; $custom-dark: #000000;
JSON
{
"hex": "#5c56cf",
"rgb": {
"r": 92,
"g": 86,
"b": 207
},
"hsl": {
"h": 242.975,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.52697,
"c": 0.18108,
"h": 280.4
},
"luminance": 0.13436
}Semantic roles & 50–950 ramp
primary
#5C56CF
secondary
#D6D9A8
accent
#DF49D8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83