#5B4FD3#5B4FD3
#5B4FD3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.8% C 0.195 H 281.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FD3 |
|---|---|
| RGB | rgb(91, 79, 211) |
| HSL | hsl(245, 60%, 57%) |
| HSV | hsv(245, 63%, 83%) |
| CMYK | cmyk(56.9%, 62.6%, 0%, 17.3%) |
| CIE-LAB | lab(42.03, 41.54, -66.64) |
| CIE-LCH | lch(42.03, 78.53, 301.94°) |
| OKLab | oklab(51.76% 0.038 -0.1915) |
| OKLCH | oklch(51.76% 0.195 281.2) |
| XYZ | xyz(18.8646, 12.5180, 63.0375) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.46
Warm Blue
#4B57DB
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 3.92
Light Indigo
#6D5ACF
ΔE00 4.19
Bluey Purple
#6241C7
ΔE00 4.39
Purpleish Blue
#6140EF
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FD3 #C7D34F
analogous
#4F85D3 #5B4FD3 #9D4FD3
triadic
#5B4FD3 #D35B4F #4FD35B
tetradic
#5B4FD3 #D34F85 #C7D34F #4FD39D
square
#5B4FD3 #D34F85 #C7D34F #4FD39D
split-complementary
#5B4FD3 #D39D4F #85D34F
monochromatic
#2B2286 #3A2EB7 #5B4FD3 #8980DF #B6B1EB
Accessibility & contrast
On white
5.99
#5B4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5B4FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FD3
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FD3 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#18708A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b4fd3; /* rgb */ color: rgb(91, 79, 211); /* oklch */ color: oklch(51.8% 0.195 281.2);
Tailwind
colors: {
custom: {
50: '#9481e1',
500: '#5b4fd3',
950: '#000000',
},
}SCSS
$custom: #5b4fd3; $custom-light: #9481e1; $custom-dark: #000000;
JSON
{
"hex": "#5b4fd3",
"rgb": {
"r": 91,
"g": 79,
"b": 211
},
"hsl": {
"h": 245.455,
"s": 60,
"l": 56.863
},
"oklch": {
"l": 0.51756,
"c": 0.19527,
"h": 281.2
},
"luminance": 0.12519
}Semantic roles & 50–950 ramp
primary
#5B4FD3
secondary
#D5DAA4
accent
#E345D5
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83