#5C50CC#5C50CC
#5C50CC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.185 H 282.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5C50CC |
|---|---|
| RGB | rgb(92, 80, 204) |
| HSL | hsl(246, 55%, 56%) |
| HSV | hsv(246, 61%, 80%) |
| CMYK | cmyk(54.9%, 60.8%, 0%, 20%) |
| CIE-LAB | lab(41.80, 38.94, -62.98) |
| CIE-LCH | lch(41.80, 74.04, 301.73°) |
| OKLab | oklab(51.44% 0.0387 -0.1807) |
| OKLCH | oklch(51.44% 0.185 282.1) |
| XYZ | xyz(18.1780, 12.3712, 58.5450) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 3.60
Warm Blue
#4B57DB
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 3.96
Bluey Purple
#6241C7
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C50CC #C0CC50
analogous
#5082CC #5C50CC #9A50CC
triadic
#5C50CC #CC5C50 #50CC5C
tetradic
#5C50CC #CC5082 #C0CC50 #50CC9A
square
#5C50CC #CC5082 #C0CC50 #50CC9A
split-complementary
#5C50CC #CC9A50 #82CC50
monochromatic
#2D247D #3E32AD #5C50CC #887FDA #B4AFE8
Accessibility & contrast
On white
6.04
#5C50CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5C50CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C50CC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C50CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C50CC | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#276E86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5c50cc; /* rgb */ color: rgb(92, 80, 204); /* oklch */ color: oklch(51.4% 0.185 282.1);
Tailwind
colors: {
custom: {
50: '#9482dc',
500: '#5c50cc',
950: '#000000',
},
}SCSS
$custom: #5c50cc; $custom-light: #9482dc; $custom-dark: #000000;
JSON
{
"hex": "#5c50cc",
"rgb": {
"r": 92,
"g": 80,
"b": 204
},
"hsl": {
"h": 245.806,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.51442,
"c": 0.18484,
"h": 282.1
},
"luminance": 0.12372
}Semantic roles & 50–950 ramp
primary
#5C50CC
secondary
#D1D6A2
accent
#DE4AD0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83