#5B4DD1#5B4DD1
#5B4DD1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.3% C 0.195 H 281.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4DD1 |
|---|---|
| RGB | rgb(91, 77, 209) |
| HSL | hsl(246, 59%, 56%) |
| HSV | hsv(246, 63%, 82%) |
| CMYK | cmyk(56.5%, 63.2%, 0%, 18%) |
| CIE-LAB | lab(41.43, 42.09, -66.47) |
| CIE-LCH | lch(41.43, 78.67, 302.34°) |
| OKLab | oklab(51.27% 0.04 -0.191) |
| OKLCH | oklch(51.27% 0.195 281.8) |
| XYZ | xyz(18.4733, 12.1342, 61.6779) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 4.58
Purpleish Blue
#6140EF
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4DD1 #C3D14D
analogous
#4D81D1 #5B4DD1 #9D4DD1
triadic
#5B4DD1 #D15B4D #4DD15B
tetradic
#5B4DD1 #D14D81 #C3D14D #4DD19D
square
#5B4DD1 #D14D81 #C3D14D #4DD19D
split-complementary
#5B4DD1 #D19D4D #81D14D
monochromatic
#2C2282 #3C2EB3 #5B4DD1 #887EDE #B5AEEA
Accessibility & contrast
On white
6.13
#5B4DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5B4DD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4DD1
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4DD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4DD1 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#1C6E88
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b4dd1; /* rgb */ color: rgb(91, 77, 209); /* oklch */ color: oklch(51.3% 0.195 281.8);
Tailwind
colors: {
custom: {
50: '#9480e0',
500: '#5b4dd1',
950: '#000000',
},
}SCSS
$custom: #5b4dd1; $custom-light: #9480e0; $custom-dark: #000000;
JSON
{
"hex": "#5b4dd1",
"rgb": {
"r": 91,
"g": 77,
"b": 209
},
"hsl": {
"h": 246.364,
"s": 58.929,
"l": 56.078
},
"oklch": {
"l": 0.5127,
"c": 0.19518,
"h": 281.8
},
"luminance": 0.12135
}Semantic roles & 50–950 ramp
primary
#5B4DD1
secondary
#D2D8A2
accent
#E246D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83