#5B4FE7#5B4FE7
#5B4FE7 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.220 H 279.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FE7 |
|---|---|
| RGB | rgb(91, 79, 231) |
| HSL | hsl(245, 76%, 61%) |
| HSV | hsv(245, 66%, 91%) |
| CMYK | cmyk(60.6%, 65.8%, 0%, 9.4%) |
| CIE-LAB | lab(43.63, 47.76, -75.43) |
| CIE-LCH | lch(43.63, 89.28, 302.34°) |
| OKLab | oklab(53.42% 0.036 -0.2173) |
| OKLCH | oklch(53.42% 0.22 279.4) |
| XYZ | xyz(21.5296, 13.5840, 77.0733) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 3.79
Slate Blue
#6A5ACD
ΔE00 4.85
Light Indigo
#6D5ACF
ΔE00 4.89
Iris
#6258C4
ΔE00 5.28
Bluish Purple
#703BE7
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FE7 #DBE74F
analogous
#4F8FE7 #5B4FE7 #A74FE7
triadic
#5B4FE7 #E75B4F #4FE75B
tetradic
#5B4FE7 #E74F8F #DBE74F #4FE7A7
square
#5B4FE7 #E74F8F #DBE74F #4FE7A7
split-complementary
#5B4FE7 #E7A74F #8FE74F
monochromatic
#2217A5 #2D1EDB #5B4FE7 #8D85EE #BFBBF6
Accessibility & contrast
On white
5.65
#5B4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#5B4FE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FE7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FE7 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0061E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b4fe7; /* rgb */ color: rgb(91, 79, 231); /* oklch */ color: oklch(53.4% 0.220 279.4);
Tailwind
colors: {
custom: {
50: '#9881f0',
500: '#5b4fe7',
950: '#000000',
},
}SCSS
$custom: #5b4fe7; $custom-light: #9881f0; $custom-dark: #000000;
JSON
{
"hex": "#5b4fe7",
"rgb": {
"r": 91,
"g": 79,
"b": 231
},
"hsl": {
"h": 244.737,
"s": 76,
"l": 60.784
},
"oklch": {
"l": 0.53418,
"c": 0.22031,
"h": 279.4
},
"luminance": 0.13586
}Semantic roles & 50–950 ramp
primary
#5B4FE7
secondary
#E1E6AC
accent
#D80DC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85