#5B4FD2#5B4FD2
#5B4FD2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.7% C 0.194 H 281.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FD2 |
|---|---|
| RGB | rgb(91, 79, 210) |
| HSL | hsl(245, 59%, 57%) |
| HSV | hsv(245, 62%, 82%) |
| CMYK | cmyk(56.7%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(41.95, 41.23, -66.19) |
| CIE-LCH | lch(41.95, 77.98, 301.91°) |
| OKLab | oklab(51.68% 0.0381 -0.1902) |
| OKLCH | oklch(51.68% 0.194 281.3) |
| XYZ | xyz(18.7396, 12.4680, 62.3794) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.39
Warm Blue
#4B57DB
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.19
Bluey Purple
#6241C7
ΔE00 4.34
Purpleish Blue
#6140EF
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FD2 #C6D24F
analogous
#4F85D2 #5B4FD2 #9D4FD2
triadic
#5B4FD2 #D25B4F #4FD25B
tetradic
#5B4FD2 #D24F85 #C6D24F #4FD29D
square
#5B4FD2 #D24F85 #C6D24F #4FD29D
split-complementary
#5B4FD2 #D29D4F #85D24F
monochromatic
#2B2285 #3B2EB5 #5B4FD2 #8880DE #B6B0EB
Accessibility & contrast
On white
6.01
#5B4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5B4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FD2
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FD2 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#1A6F89
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b4fd2; /* rgb */ color: rgb(91, 79, 210); /* oklch */ color: oklch(51.7% 0.194 281.3);
Tailwind
colors: {
custom: {
50: '#9481e1',
500: '#5b4fd2',
950: '#000000',
},
}SCSS
$custom: #5b4fd2; $custom-light: #9481e1; $custom-dark: #000000;
JSON
{
"hex": "#5b4fd2",
"rgb": {
"r": 91,
"g": 79,
"b": 210
},
"hsl": {
"h": 245.496,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.51675,
"c": 0.19399,
"h": 281.3
},
"luminance": 0.12469
}Semantic roles & 50–950 ramp
primary
#5B4FD2
secondary
#D4D9A4
accent
#E245D4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83