#5B54CD#5B54CD
#5B54CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.181 H 280.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5B54CD |
|---|---|
| RGB | rgb(91, 84, 205) |
| HSL | hsl(243, 55%, 57%) |
| HSV | hsv(243, 59%, 80%) |
| CMYK | cmyk(55.6%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(42.72, 36.67, -62.06) |
| CIE-LCH | lch(42.72, 72.08, 300.57°) |
| OKLab | oklab(52.12% 0.0335 -0.1781) |
| OKLCH | oklch(52.12% 0.181 280.7) |
| XYZ | xyz(18.5007, 12.9714, 59.2746) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.07
Slate Blue
#6A5ACD
ΔE00 2.98
Warm Blue
#4B57DB
ΔE00 3.10
Light Indigo
#6D5ACF
ΔE00 3.45
Dark Periwinkle
#665FD1
ΔE00 3.69
Bluey Purple
#6241C7
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B54CD #C6CD54
analogous
#548ACD #5B54CD #9854CD
triadic
#5B54CD #CD5B54 #54CD5B
tetradic
#5B54CD #CD548A #C6CD54 #54CD98
square
#5B54CD #CD548A #C6CD54 #54CD98
split-complementary
#5B54CD #CD9854 #8ACD54
monochromatic
#2B2681 #3B34B0 #5B54CD #8883DB #B6B3E9
Accessibility & contrast
On white
5.84
#5B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#5B54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B54CD
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B54CD | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#217188
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b54cd; /* rgb */ color: rgb(91, 84, 205); /* oklch */ color: oklch(52.1% 0.181 280.7);
Tailwind
colors: {
custom: {
50: '#9384dd',
500: '#5b54cd',
950: '#000000',
},
}SCSS
$custom: #5b54cd; $custom-light: #9384dd; $custom-dark: #000000;
JSON
{
"hex": "#5b54cd",
"rgb": {
"r": 91,
"g": 84,
"b": 205
},
"hsl": {
"h": 243.471,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.52122,
"c": 0.18119,
"h": 280.7
},
"luminance": 0.12973
}Semantic roles & 50–950 ramp
primary
#5B54CD
secondary
#D4D7A6
accent
#DE4AD6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83