#5B54DB#5B54DB
#5B54DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.199 H 279.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5B54DB |
|---|---|
| RGB | rgb(91, 84, 219) |
| HSL | hsl(243, 65%, 59%) |
| HSV | hsv(243, 62%, 86%) |
| CMYK | cmyk(58.4%, 61.6%, 0%, 14.1%) |
| CIE-LAB | lab(43.77, 41.09, -68.39) |
| CIE-LCH | lch(43.77, 79.79, 301.00°) |
| OKLab | oklab(53.22% 0.0329 -0.1966) |
| OKLCH | oklch(53.22% 0.199 279.5) |
| XYZ | xyz(20.2668, 13.6778, 68.5762) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 3.40
Iris
#6258C4
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 3.74
Purpleish Blue
#6140EF
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B54DB #D4DB54
analogous
#5491DB #5B54DB #9F54DB
triadic
#5B54DB #DB5B54 #54DB5B
tetradic
#5B54DB #DB5491 #D4DB54 #54DB9F
square
#5B54DB #DB5491 #D4DB54 #54DB9F
split-complementary
#5B54DB #DB9F54 #91DB54
monochromatic
#261F95 #322AC8 #5B54DB #8B87E6 #BCB9F0
Accessibility & contrast
On white
5.62
#5B54DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5B54DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B54DB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B54DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B54DB | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b54db; /* rgb */ color: rgb(91, 84, 219); /* oklch */ color: oklch(53.2% 0.199 279.5);
Tailwind
colors: {
custom: {
50: '#9585e7',
500: '#5b54db',
950: '#000000',
},
}SCSS
$custom: #5b54db; $custom-light: #9585e7; $custom-dark: #000000;
JSON
{
"hex": "#5b54db",
"rgb": {
"r": 91,
"g": 84,
"b": 219
},
"hsl": {
"h": 243.111,
"s": 65.217,
"l": 59.412
},
"oklch": {
"l": 0.5322,
"c": 0.19938,
"h": 279.5
},
"luminance": 0.13679
}Semantic roles & 50–950 ramp
primary
#5B54DB
secondary
#DDE0AB
accent
#E840DF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84