#5B4FE8#5B4FE8
#5B4FE8 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.222 H 279.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FE8 |
|---|---|
| RGB | rgb(91, 79, 232) |
| HSL | hsl(245, 77%, 61%) |
| HSV | hsv(245, 66%, 91%) |
| CMYK | cmyk(60.8%, 65.9%, 0%, 9%) |
| CIE-LAB | lab(43.71, 48.07, -75.86) |
| CIE-LCH | lch(43.71, 89.81, 302.36°) |
| OKLab | oklab(53.5% 0.0359 -0.2186) |
| OKLCH | oklch(53.5% 0.222 279.3) |
| XYZ | xyz(21.6712, 13.6407, 77.8192) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 3.84
Slate Blue
#6A5ACD
ΔE00 4.92
Light Indigo
#6D5ACF
ΔE00 4.95
Bluish Purple
#703BE7
ΔE00 5.30
Iris
#6258C4
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FE8 #DCE84F
analogous
#4F8FE8 #5B4FE8 #A74FE8
triadic
#5B4FE8 #E85B4F #4FE85B
tetradic
#5B4FE8 #E84F8F #DCE84F #4FE8A7
square
#5B4FE8 #E84F8F #DCE84F #4FE8A7
split-complementary
#5B4FE8 #E8A74F #8FE84F
monochromatic
#2116A7 #2C1DDD #5B4FE8 #8D85EF #C0BBF6
Accessibility & contrast
On white
5.63
#5B4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#5B4FE8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FE8
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FE8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FE8 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b4fe8; /* rgb */ color: rgb(91, 79, 232); /* oklch */ color: oklch(53.5% 0.222 279.3);
Tailwind
colors: {
custom: {
50: '#9881f0',
500: '#5b4fe8',
950: '#000000',
},
}SCSS
$custom: #5b4fe8; $custom-light: #9881f0; $custom-dark: #000000;
JSON
{
"hex": "#5b4fe8",
"rgb": {
"r": 91,
"g": 79,
"b": 232
},
"hsl": {
"h": 244.706,
"s": 76.884,
"l": 60.98
},
"oklch": {
"l": 0.53503,
"c": 0.22153,
"h": 279.3
},
"luminance": 0.13642
}Semantic roles & 50–950 ramp
primary
#5B4FE8
secondary
#E2E6AD
accent
#D90CC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85