#5B4FDA#5B4FDA
#5B4FDA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.204 H 280.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FDA |
|---|---|
| RGB | rgb(91, 79, 218) |
| HSL | hsl(245, 65%, 58%) |
| HSV | hsv(245, 64%, 85%) |
| CMYK | cmyk(58.3%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(42.58, 43.72, -69.76) |
| CIE-LCH | lch(42.58, 82.33, 302.08°) |
| OKLab | oklab(52.33% 0.0374 -0.2007) |
| OKLCH | oklch(52.33% 0.204 280.6) |
| XYZ | xyz(19.7613, 12.8767, 67.7602) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.49
Iris
#6258C4
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.12
Purpleish Blue
#6140EF
ΔE00 4.22
Light Indigo
#6D5ACF
ΔE00 4.31
Bluey Purple
#6241C7
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FDA #CEDA4F
analogous
#4F88DA #5B4FDA #A04FDA
triadic
#5B4FDA #DA5B4F #4FDA5B
tetradic
#5B4FDA #DA4F88 #CEDA4F #4FDAA0
square
#5B4FDA #DA4F88 #CEDA4F #4FDAA0
split-complementary
#5B4FDA #DAA04F #88DA4F
monochromatic
#281E90 #3629C3 #5B4FDA #8A82E5 #B9B4EF
Accessibility & contrast
On white
5.87
#5B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5B4FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FDA
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FDA | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b4fda; /* rgb */ color: rgb(91, 79, 218); /* oklch */ color: oklch(52.3% 0.204 280.6);
Tailwind
colors: {
custom: {
50: '#9681e6',
500: '#5b4fda',
950: '#000000',
},
}SCSS
$custom: #5b4fda; $custom-light: #9681e6; $custom-dark: #000000;
JSON
{
"hex": "#5b4fda",
"rgb": {
"r": 91,
"g": 79,
"b": 218
},
"hsl": {
"h": 245.18,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.52327,
"c": 0.20415,
"h": 280.6
},
"luminance": 0.12878
}Semantic roles & 50–950 ramp
primary
#5B4FDA
secondary
#D9DEA7
accent
#E840DA
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84