#5B4FE4#5B4FE4
#5B4FE4 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.217 H 279.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FE4 |
|---|---|
| RGB | rgb(91, 79, 228) |
| HSL | hsl(245, 73%, 60%) |
| HSV | hsv(245, 65%, 89%) |
| CMYK | cmyk(60.1%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(43.38, 46.83, -74.14) |
| CIE-LCH | lch(43.38, 87.69, 302.28°) |
| OKLab | oklab(53.16% 0.0364 -0.2135) |
| OKLCH | oklch(53.16% 0.217 279.7) |
| XYZ | xyz(21.1095, 13.4160, 74.8609) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.66
Purpleish Blue
#6140EF
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.65
Light Indigo
#6D5ACF
ΔE00 4.72
Iris
#6258C4
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FE4 #D8E44F
analogous
#4F8EE4 #5B4FE4 #A54FE4
triadic
#5B4FE4 #E45B4F #4FE45B
tetradic
#5B4FE4 #E44F8E #D8E44F #4FE4A5
square
#5B4FE4 #E44F8E #D8E44F #4FE4A5
split-complementary
#5B4FE4 #E4A54F #8EE44F
monochromatic
#2319A0 #2F21D5 #5B4FE4 #8C84EC #BEB9F4
Accessibility & contrast
On white
5.70
#5B4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5B4FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FE4
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FE4 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b4fe4; /* rgb */ color: rgb(91, 79, 228); /* oklch */ color: oklch(53.2% 0.217 279.7);
Tailwind
colors: {
custom: {
50: '#9781ee',
500: '#5b4fe4',
950: '#000000',
},
}SCSS
$custom: #5b4fe4; $custom-light: #9781ee; $custom-dark: #000000;
JSON
{
"hex": "#5b4fe4",
"rgb": {
"r": 91,
"g": 79,
"b": 228
},
"hsl": {
"h": 244.832,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.53163,
"c": 0.21662,
"h": 279.7
},
"luminance": 0.13418
}Semantic roles & 50–950 ramp
primary
#5B4FE4
secondary
#DFE4AB
accent
#D610C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84