#5B4FEA#5B4FEA
#5B4FEA is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.224 H 279.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FEA |
|---|---|
| RGB | rgb(91, 79, 234) |
| HSL | hsl(245, 79%, 61%) |
| HSV | hsv(245, 66%, 92%) |
| CMYK | cmyk(61.1%, 66.2%, 0%, 8.2%) |
| CIE-LAB | lab(43.88, 48.69, -76.72) |
| CIE-LCH | lch(43.88, 90.87, 302.40°) |
| OKLab | oklab(53.67% 0.0357 -0.2211) |
| OKLCH | oklch(53.67% 0.224 279.2) |
| XYZ | xyz(21.9569, 13.7550, 79.3239) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.55
Warm Blue
#4B57DB
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.08
Bluish Purple
#703BE7
ΔE00 5.31
Dark Periwinkle
#665FD1
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FEA #DEEA4F
analogous
#4F91EA #5B4FEA #A94FEA
triadic
#5B4FEA #EA5B4F #4FEA5B
tetradic
#5B4FEA #EA4F91 #DEEA4F #4FEAA9
square
#5B4FEA #EA4F91 #DEEA4F #4FEAA9
split-complementary
#5B4FEA #EAA94F #91EA4F
monochromatic
#2014AA #2A1BE1 #5B4FEA #8E86F1 #C1BCF7
Accessibility & contrast
On white
5.60
#5B4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#5B4FEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FEA
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FEA | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5b4fea; /* rgb */ color: rgb(91, 79, 234); /* oklch */ color: oklch(53.7% 0.224 279.2);
Tailwind
colors: {
custom: {
50: '#9881f2',
500: '#5b4fea',
950: '#000000',
},
}SCSS
$custom: #5b4fea; $custom-light: #9881f2; $custom-dark: #000000;
JSON
{
"hex": "#5b4fea",
"rgb": {
"r": 91,
"g": 79,
"b": 234
},
"hsl": {
"h": 244.645,
"s": 78.68,
"l": 61.373
},
"oklch": {
"l": 0.53674,
"c": 0.22398,
"h": 279.2
},
"luminance": 0.13757
}Semantic roles & 50–950 ramp
primary
#5B4FEA
secondary
#E3E7AD
accent
#DB0BCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85