#5C51BD#5C51BD
#5C51BD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.164 H 283.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5C51BD |
|---|---|
| RGB | rgb(92, 81, 189) |
| HSL | hsl(246, 45%, 53%) |
| HSV | hsv(246, 57%, 74%) |
| CMYK | cmyk(51.3%, 57.1%, 0%, 25.9%) |
| CIE-LAB | lab(40.95, 33.67, -55.64) |
| CIE-LCH | lch(40.95, 65.03, 301.18°) |
| OKLab | oklab(50.47% 0.0381 -0.1592) |
| OKLCH | oklch(50.47% 0.164 283.5) |
| XYZ | xyz(16.5386, 11.8334, 49.5469) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.44
Slate Blue
#6A5ACD
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 4.65
Bluey Purple
#6241C7
ΔE00 4.84
Warm Blue
#4B57DB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C51BD #B2BD51
analogous
#517CBD #5C51BD #9251BD
triadic
#5C51BD #BD5C51 #51BD5C
tetradic
#5C51BD #BD517C #B2BD51 #51BD92
square
#5C51BD #BD517C #B2BD51 #51BD92
split-complementary
#5C51BD #BD9251 #7CBD51
monochromatic
#2F296B #433997 #5C51BD #867DCE #AFAADF
Accessibility & contrast
On white
6.24
#5C51BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#5C51BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C51BD
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C51BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C51BD | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#366A7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5c51bd; /* rgb */ color: rgb(92, 81, 189); /* oklch */ color: oklch(50.5% 0.164 283.5);
Tailwind
colors: {
custom: {
50: '#9282d2',
500: '#5c51bd',
950: '#000000',
},
}SCSS
$custom: #5c51bd; $custom-light: #9282d2; $custom-dark: #000000;
JSON
{
"hex": "#5c51bd",
"rgb": {
"r": 92,
"g": 81,
"b": 189
},
"hsl": {
"h": 246.111,
"s": 45,
"l": 52.941
},
"oklch": {
"l": 0.50474,
"c": 0.16365,
"h": 283.5
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#5C51BD
secondary
#C7CC9E
accent
#D553C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83