#5B4FE2#5B4FE2
#5B4FE2 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.214 H 279.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FE2 |
|---|---|
| RGB | rgb(91, 79, 226) |
| HSL | hsl(245, 72%, 60%) |
| HSV | hsv(245, 65%, 89%) |
| CMYK | cmyk(59.7%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(43.22, 46.21, -73.27) |
| CIE-LCH | lch(43.22, 86.62, 302.24°) |
| OKLab | oklab(52.99% 0.0366 -0.211) |
| OKLCH | oklch(52.99% 0.214 279.8) |
| XYZ | xyz(20.8335, 13.3056, 73.4072) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.59
Purpleish Blue
#6140EF
ΔE00 3.75
Slate Blue
#6A5ACD
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 4.62
Iris
#6258C4
ΔE00 4.78
Dark Periwinkle
#665FD1
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FE2 #D6E24F
analogous
#4F8DE2 #5B4FE2 #A54FE2
triadic
#5B4FE2 #E25B4F #4FE25B
tetradic
#5B4FE2 #E24F8D #D6E24F #4FE2A5
square
#5B4FE2 #E24F8D #D6E24F #4FE2A5
split-complementary
#5B4FE2 #E2A54F #8DE24F
monochromatic
#251A9D #3122D1 #5B4FE2 #8C84EB #BDB8F3
Accessibility & contrast
On white
5.74
#5B4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#5B4FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FE2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FE2 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b4fe2; /* rgb */ color: rgb(91, 79, 226); /* oklch */ color: oklch(53.0% 0.214 279.8);
Tailwind
colors: {
custom: {
50: '#9781ec',
500: '#5b4fe2',
950: '#000000',
},
}SCSS
$custom: #5b4fe2; $custom-light: #9781ec; $custom-dark: #000000;
JSON
{
"hex": "#5b4fe2",
"rgb": {
"r": 91,
"g": 79,
"b": 226
},
"hsl": {
"h": 244.898,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.52994,
"c": 0.21414,
"h": 279.8
},
"luminance": 0.13307
}Semantic roles & 50–950 ramp
primary
#5B4FE2
secondary
#DEE3AA
accent
#EE39E0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84