#5B4FCA#5B4FCA
#5B4FCA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.0% C 0.184 H 282.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FCA |
|---|---|
| RGB | rgb(91, 79, 202) |
| HSL | hsl(246, 54%, 55%) |
| HSV | hsv(246, 61%, 79%) |
| CMYK | cmyk(55%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.34, 38.73, -62.57) |
| CIE-LCH | lch(41.34, 73.58, 301.76°) |
| OKLab | oklab(51.04% 0.0386 -0.1796) |
| OKLCH | oklch(51.04% 0.184 282.1) |
| XYZ | xyz(17.7677, 12.0793, 57.2609) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.94
Slate Blue
#6A5ACD
ΔE00 3.94
Bluey Purple
#6241C7
ΔE00 4.08
Warm Blue
#4B57DB
ΔE00 4.20
Light Indigo
#6D5ACF
ΔE00 4.30
Ocean Blue
#4F42B5
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FCA #BECA4F
analogous
#4F80CA #5B4FCA #994FCA
triadic
#5B4FCA #CA5B4F #4FCA5B
tetradic
#5B4FCA #CA4F80 #BECA4F #4FCA99
square
#5B4FCA #CA4F80 #BECA4F #4FCA99
split-complementary
#5B4FCA #CA994F #80CA4F
monochromatic
#2D257A #3E33A9 #5B4FCA #877ED8 #B3ADE6
Accessibility & contrast
On white
6.15
#5B4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5B4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FCA
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FCA | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#266D85
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5b4fca; /* rgb */ color: rgb(91, 79, 202); /* oklch */ color: oklch(51.0% 0.184 282.1);
Tailwind
colors: {
custom: {
50: '#9381db',
500: '#5b4fca',
950: '#000000',
},
}SCSS
$custom: #5b4fca; $custom-light: #9381db; $custom-dark: #000000;
JSON
{
"hex": "#5b4fca",
"rgb": {
"r": 91,
"g": 79,
"b": 202
},
"hsl": {
"h": 245.854,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.51039,
"c": 0.18366,
"h": 282.1
},
"luminance": 0.1208
}Semantic roles & 50–950 ramp
primary
#5B4FCA
secondary
#CFD4A1
accent
#DD4BCF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83