#5B4FC0#5B4FC0
#5B4FC0 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.170 H 283.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FC0 |
|---|---|
| RGB | rgb(91, 79, 192) |
| HSL | hsl(246, 47%, 53%) |
| HSV | hsv(246, 59%, 75%) |
| CMYK | cmyk(52.6%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(40.61, 35.61, -57.95) |
| CIE-LCH | lch(40.61, 68.02, 301.57°) |
| OKLab | oklab(50.27% 0.0389 -0.166) |
| OKLCH | oklch(50.27% 0.17 283.2) |
| XYZ | xyz(16.6219, 11.6210, 51.2262) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.87
Bluey Purple
#6241C7
ΔE00 4.20
Ocean Blue
#4F42B5
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FC0 #B4C04F
analogous
#4F7BC0 #5B4FC0 #934FC0
triadic
#5B4FC0 #C05B4F #4FC05B
tetradic
#5B4FC0 #C04F7B #B4C04F #4FC093
square
#5B4FC0 #C04F7B #B4C04F #4FC093
split-complementary
#5B4FC0 #C0934F #7BC04F
monochromatic
#2F276D #42379A #5B4FC0 #857CD0 #AFA9E0
Accessibility & contrast
On white
6.32
#5B4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5B4FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FC0
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FC0 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#316980
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5b4fc0; /* rgb */ color: rgb(91, 79, 192); /* oklch */ color: oklch(50.3% 0.170 283.2);
Tailwind
colors: {
custom: {
50: '#9281d4',
500: '#5b4fc0',
950: '#000000',
},
}SCSS
$custom: #5b4fc0; $custom-light: #9281d4; $custom-dark: #000000;
JSON
{
"hex": "#5b4fc0",
"rgb": {
"r": 91,
"g": 79,
"b": 192
},
"hsl": {
"h": 246.372,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.50268,
"c": 0.17049,
"h": 283.2
},
"luminance": 0.11622
}Semantic roles & 50–950 ramp
primary
#5B4FC0
secondary
#C9CE9D
accent
#D751C9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83