#5C4FCB#5C4FCB
#5C4FCB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.185 H 282.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4FCB |
|---|---|
| RGB | rgb(92, 79, 203) |
| HSL | hsl(246, 54%, 55%) |
| HSV | hsv(246, 61%, 80%) |
| CMYK | cmyk(54.7%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.50, 39.22, -62.89) |
| CIE-LCH | lch(41.50, 74.12, 301.95°) |
| OKLab | oklab(51.2% 0.0398 -0.1805) |
| OKLCH | oklch(51.2% 0.185 282.4) |
| XYZ | xyz(17.9858, 12.1780, 57.8912) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.83
Bluey Purple
#6241C7
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.17
Warm Blue
#4B57DB
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4FCB #BECB4F
analogous
#4F80CB #5C4FCB #9A4FCB
triadic
#5C4FCB #CB5C4F #4FCB5C
tetradic
#5C4FCB #CB4F80 #BECB4F #4FCB9A
square
#5C4FCB #CB4F80 #BECB4F #4FCB9A
split-complementary
#5C4FCB #CB9A4F #80CB4F
monochromatic
#2D247B #3F32AA #5C4FCB #887ED9 #B4ADE7
Accessibility & contrast
On white
6.11
#5C4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5C4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4FCB
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4FCB | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#286D85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5c4fcb; /* rgb */ color: rgb(92, 79, 203); /* oklch */ color: oklch(51.2% 0.185 282.4);
Tailwind
colors: {
custom: {
50: '#9481dc',
500: '#5c4fcb',
950: '#000000',
},
}SCSS
$custom: #5c4fcb; $custom-light: #9481dc; $custom-dark: #000000;
JSON
{
"hex": "#5c4fcb",
"rgb": {
"r": 92,
"g": 79,
"b": 203
},
"hsl": {
"h": 246.29,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.51197,
"c": 0.18481,
"h": 282.4
},
"luminance": 0.12179
}Semantic roles & 50–950 ramp
primary
#5C4FCB
secondary
#CFD5A1
accent
#DE4ACE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83