#5C4FCF#5C4FCF
#5C4FCF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.190 H 282.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5C4FCF |
|---|---|
| RGB | rgb(92, 79, 207) |
| HSL | hsl(246, 57%, 56%) |
| HSV | hsv(246, 62%, 81%) |
| CMYK | cmyk(55.6%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(41.80, 40.46, -64.71) |
| CIE-LCH | lch(41.80, 76.32, 302.02°) |
| OKLab | oklab(51.51% 0.0395 -0.1858) |
| OKLCH | oklch(51.51% 0.19 282) |
| XYZ | xyz(18.4686, 12.3711, 60.4341) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.16
Slate Blue
#6A5ACD
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C4FCF #C2CF4F
analogous
#4F82CF #5C4FCF #9C4FCF
triadic
#5C4FCF #CF5C4F #4FCF5C
tetradic
#5C4FCF #CF4F82 #C2CF4F #4FCF9C
square
#5C4FCF #CF4F82 #C2CF4F #4FCF9C
split-complementary
#5C4FCF #CF9C4F #82CF4F
monochromatic
#2D2381 #3D30B1 #5C4FCF #897FDC #B5AFE9
Accessibility & contrast
On white
6.04
#5C4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5C4FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C4FCF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C4FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C4FCF | 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)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#236E87
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5c4fcf; /* rgb */ color: rgb(92, 79, 207); /* oklch */ color: oklch(51.5% 0.190 282.0);
Tailwind
colors: {
custom: {
50: '#9481df',
500: '#5c4fcf',
950: '#000000',
},
}SCSS
$custom: #5c4fcf; $custom-light: #9481df; $custom-dark: #000000;
JSON
{
"hex": "#5c4fcf",
"rgb": {
"r": 92,
"g": 79,
"b": 207
},
"hsl": {
"h": 246.094,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.51513,
"c": 0.18999,
"h": 282
},
"luminance": 0.12372
}Semantic roles & 50–950 ramp
primary
#5C4FCF
secondary
#D2D7A2
accent
#E047D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83