#5B54E3#5B54E3
#5B54E3 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.9% C 0.210 H 278.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5B54E3 |
|---|---|
| RGB | rgb(91, 84, 227) |
| HSL | hsl(243, 72%, 61%) |
| HSV | hsv(243, 63%, 89%) |
| CMYK | cmyk(59.9%, 63%, 0%, 11%) |
| CIE-LAB | lab(44.39, 43.62, -71.92) |
| CIE-LCH | lch(44.39, 84.12, 301.24°) |
| OKLab | oklab(53.87% 0.0323 -0.207) |
| OKLCH | oklch(53.87% 0.21 278.9) |
| XYZ | xyz(21.3454, 14.1093, 74.2567) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.84
Slate Blue
#6A5ACD
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.09
Dark Periwinkle
#665FD1
ΔE00 4.10
Iris
#6258C4
ΔE00 4.45
Purpleish Blue
#6140EF
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B54E3 #DCE354
analogous
#5494E3 #5B54E3 #A254E3
triadic
#5B54E3 #E35B54 #54E35B
tetradic
#5B54E3 #E35494 #DCE354 #54E3A2
square
#5B54E3 #E35494 #DCE354 #54E3A2
split-complementary
#5B54E3 #E3A254 #94E354
monochromatic
#211BA2 #2C23D7 #5B54E3 #8D89EC #C0BDF4
Accessibility & contrast
On white
5.49
#5B54E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5B54E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B54E3
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B54E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B54E3 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b54e3; /* rgb */ color: rgb(91, 84, 227); /* oklch */ color: oklch(53.9% 0.210 278.9);
Tailwind
colors: {
custom: {
50: '#9785ed',
500: '#5b54e3',
950: '#000000',
},
}SCSS
$custom: #5b54e3; $custom-light: #9785ed; $custom-dark: #000000;
JSON
{
"hex": "#5b54e3",
"rgb": {
"r": 91,
"g": 84,
"b": 227
},
"hsl": {
"h": 242.937,
"s": 71.859,
"l": 60.98
},
"oklch": {
"l": 0.53869,
"c": 0.20955,
"h": 278.9
},
"luminance": 0.14111
}Semantic roles & 50–950 ramp
primary
#5B54E3
secondary
#E2E4AE
accent
#D412CA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84