#5B4FD6#5B4FD6
#5B4FD6 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.199 H 280.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FD6 |
|---|---|
| RGB | rgb(91, 79, 214) |
| HSL | hsl(245, 62%, 57%) |
| HSV | hsv(245, 63%, 84%) |
| CMYK | cmyk(57.5%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(42.26, 42.47, -67.98) |
| CIE-LCH | lch(42.26, 80.16, 302.00°) |
| OKLab | oklab(52% 0.0378 -0.1955) |
| OKLCH | oklch(52% 0.199 280.9) |
| XYZ | xyz(19.2442, 12.6699, 65.0367) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.55
Iris
#6258C4
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 3.98
Light Indigo
#6D5ACF
ΔE00 4.22
Purpleish Blue
#6140EF
ΔE00 4.54
Bluey Purple
#6241C7
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FD6 #CAD64F
analogous
#4F87D6 #5B4FD6 #9E4FD6
triadic
#5B4FD6 #D65B4F #4FD65B
tetradic
#5B4FD6 #D64F87 #CAD64F #4FD69E
square
#5B4FD6 #D64F87 #CAD64F #4FD69E
split-complementary
#5B4FD6 #D69E4F #87D64F
monochromatic
#2A208A #392CBC #5B4FD6 #8981E2 #B8B2ED
Accessibility & contrast
On white
5.94
#5B4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5B4FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FD6
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FD6 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#10718B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b4fd6; /* rgb */ color: rgb(91, 79, 214); /* oklch */ color: oklch(52.0% 0.199 280.9);
Tailwind
colors: {
custom: {
50: '#9581e4',
500: '#5b4fd6',
950: '#000000',
},
}SCSS
$custom: #5b4fd6; $custom-light: #9581e4; $custom-dark: #000000;
JSON
{
"hex": "#5b4fd6",
"rgb": {
"r": 91,
"g": 79,
"b": 214
},
"hsl": {
"h": 245.333,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.51999,
"c": 0.19909,
"h": 280.9
},
"luminance": 0.12671
}Semantic roles & 50–950 ramp
primary
#5B4FD6
secondary
#D7DCA5
accent
#E543D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84