#5C56E2#5C56E2
#5C56E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.206 H 278.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5C56E2 |
|---|---|
| RGB | rgb(92, 86, 226) |
| HSL | hsl(243, 71%, 61%) |
| HSV | hsv(243, 62%, 89%) |
| CMYK | cmyk(59.3%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(44.83, 42.29, -70.64) |
| CIE-LCH | lch(44.83, 82.33, 300.91°) |
| OKLab | oklab(54.19% 0.0319 -0.2032) |
| OKLCH | oklch(54.19% 0.206 278.9) |
| XYZ | xyz(21.4645, 14.4203, 73.5891) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.74
Dark Periwinkle
#665FD1
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 3.67
Light Indigo
#6D5ACF
ΔE00 3.81
Iris
#6258C4
ΔE00 4.25
Purpleish Blue
#6140EF
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C56E2 #DCE256
analogous
#5696E2 #5C56E2 #A256E2
triadic
#5C56E2 #E25C56 #56E25C
tetradic
#5C56E2 #E25696 #DCE256 #56E2A2
square
#5C56E2 #E25696 #DCE256 #56E2A2
split-complementary
#5C56E2 #E2A256 #96E256
monochromatic
#221CA2 #2C25D6 #5C56E2 #8E8AEB #C1BEF4
Accessibility & contrast
On white
5.41
#5C56E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5C56E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C56E2
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C56E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C56E2 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5c56e2; /* rgb */ color: rgb(92, 86, 226); /* oklch */ color: oklch(54.2% 0.206 278.9);
Tailwind
colors: {
custom: {
50: '#9786ec',
500: '#5c56e2',
950: '#000000',
},
}SCSS
$custom: #5c56e2; $custom-light: #9786ec; $custom-dark: #000000;
JSON
{
"hex": "#5c56e2",
"rgb": {
"r": 92,
"g": 86,
"b": 226
},
"hsl": {
"h": 242.571,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.54185,
"c": 0.20571,
"h": 278.9
},
"luminance": 0.14422
}Semantic roles & 50–950 ramp
primary
#5C56E2
secondary
#E2E4B0
accent
#D313CA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84