#5B4DDB#5B4DDB
#5B4DDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.208 H 280.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4DDB |
|---|---|
| RGB | rgb(91, 77, 219) |
| HSL | hsl(246, 66%, 58%) |
| HSV | hsv(246, 65%, 86%) |
| CMYK | cmyk(58.4%, 64.8%, 0%, 14.1%) |
| CIE-LAB | lab(42.22, 45.19, -70.91) |
| CIE-LCH | lch(42.22, 84.08, 302.51°) |
| OKLab | oklab(52.1% 0.039 -0.2041) |
| OKLCH | oklch(52.1% 0.208 280.8) |
| XYZ | xyz(19.7504, 12.6450, 68.4041) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.75
Warm Blue
#4B57DB
ΔE00 3.92
Iris
#6258C4
ΔE00 4.46
Bluey Purple
#6241C7
ΔE00 4.47
Slate Blue
#6A5ACD
ΔE00 4.54
Light Indigo
#6D5ACF
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4DDB #CDDB4D
analogous
#4D86DB #5B4DDB #A24DDB
triadic
#5B4DDB #DB5B4D #4DDB5B
tetradic
#5B4DDB #DB4D86 #CDDB4D #4DDBA2
square
#5B4DDB #DB4D86 #CDDB4D #4DDBA2
split-complementary
#5B4DDB #DBA24D #86DB4D
monochromatic
#291D90 #3727C3 #5B4DDB #8A80E5 #B9B3F0
Accessibility & contrast
On white
5.95
#5B4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#5B4DDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4DDB
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4DDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4DDB | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b4ddb; /* rgb */ color: rgb(91, 77, 219); /* oklch */ color: oklch(52.1% 0.208 280.8);
Tailwind
colors: {
custom: {
50: '#9680e7',
500: '#5b4ddb',
950: '#000000',
},
}SCSS
$custom: #5b4ddb; $custom-light: #9680e7; $custom-dark: #000000;
JSON
{
"hex": "#5b4ddb",
"rgb": {
"r": 91,
"g": 77,
"b": 219
},
"hsl": {
"h": 245.915,
"s": 66.355,
"l": 58.039
},
"oklch": {
"l": 0.52095,
"c": 0.20777,
"h": 280.8
},
"luminance": 0.12646
}Semantic roles & 50–950 ramp
primary
#5B4DDB
secondary
#D9DEA6
accent
#E93FD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84