#5C56CC#5C56CC
#5C56CC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.177 H 280.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5C56CC |
|---|---|
| RGB | rgb(92, 86, 204) |
| HSL | hsl(243, 54%, 57%) |
| HSV | hsv(243, 58%, 80%) |
| CMYK | cmyk(54.9%, 57.8%, 0%, 20%) |
| CIE-LAB | lab(43.20, 35.33, -60.71) |
| CIE-LCH | lch(43.20, 70.24, 300.19°) |
| OKLab | oklab(52.47% 0.0328 -0.174) |
| OKLCH | oklch(52.47% 0.177 280.7) |
| XYZ | xyz(18.6371, 13.2893, 58.6981) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.65
Slate Blue
#6A5ACD
ΔE00 2.62
Warm Blue
#4B57DB
ΔE00 3.10
Light Indigo
#6D5ACF
ΔE00 3.14
Dark Periwinkle
#665FD1
ΔE00 3.16
Bluey Purple
#6241C7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C56CC #C6CC56
analogous
#568BCC #5C56CC #9756CC
triadic
#5C56CC #CC5C56 #56CC5C
tetradic
#5C56CC #CC568B #C6CC56 #56CC97
square
#5C56CC #CC568B #C6CC56 #56CC97
split-complementary
#5C56CC #CC9756 #8BCC56
monochromatic
#2B2781 #3B35B0 #5C56CC #8985DA #B7B4E8
Accessibility & contrast
On white
5.74
#5C56CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#5C56CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C56CC
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C56CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C56CC | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#267289
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5c56cc; /* rgb */ color: rgb(92, 86, 204); /* oklch */ color: oklch(52.5% 0.177 280.7);
Tailwind
colors: {
custom: {
50: '#9386dc',
500: '#5c56cc',
950: '#000000',
},
}SCSS
$custom: #5c56cc; $custom-light: #9386dc; $custom-dark: #000000;
JSON
{
"hex": "#5c56cc",
"rgb": {
"r": 92,
"g": 86,
"b": 204
},
"hsl": {
"h": 243.051,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.5247,
"c": 0.17709,
"h": 280.7
},
"luminance": 0.13291
}Semantic roles & 50–950 ramp
primary
#5C56CC
secondary
#D5D7A7
accent
#DD4BD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83