#5B4FE5#5B4FE5
#5B4FE5 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.218 H 279.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FE5 |
|---|---|
| RGB | rgb(91, 79, 229) |
| HSL | hsl(245, 74%, 60%) |
| HSV | hsv(245, 66%, 90%) |
| CMYK | cmyk(60.3%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(43.47, 47.14, -74.57) |
| CIE-LCH | lch(43.47, 88.22, 302.30°) |
| OKLab | oklab(53.25% 0.0363 -0.2148) |
| OKLCH | oklch(53.25% 0.218 279.6) |
| XYZ | xyz(21.2487, 13.4717, 75.5941) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 4.78
Iris
#6258C4
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FE5 #D9E54F
analogous
#4F8EE5 #5B4FE5 #A64FE5
triadic
#5B4FE5 #E55B4F #4FE55B
tetradic
#5B4FE5 #E54F8E #D9E54F #4FE5A6
square
#5B4FE5 #E54F8E #D9E54F #4FE5A6
split-complementary
#5B4FE5 #E5A64F #8EE54F
monochromatic
#2318A2 #2E20D7 #5B4FE5 #8D84ED #BEBAF5
Accessibility & contrast
On white
5.68
#5B4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5B4FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FE5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FE5 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b4fe5; /* rgb */ color: rgb(91, 79, 229); /* oklch */ color: oklch(53.2% 0.218 279.6);
Tailwind
colors: {
custom: {
50: '#9781ee',
500: '#5b4fe5',
950: '#000000',
},
}SCSS
$custom: #5b4fe5; $custom-light: #9781ee; $custom-dark: #000000;
JSON
{
"hex": "#5b4fe5",
"rgb": {
"r": 91,
"g": 79,
"b": 229
},
"hsl": {
"h": 244.8,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.53248,
"c": 0.21785,
"h": 279.6
},
"luminance": 0.13473
}Semantic roles & 50–950 ramp
primary
#5B4FE5
secondary
#E0E5AB
accent
#D60FC6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A17
muted
#7F7C85