#5B54CF#5B54CF
#5B54CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.184 H 280.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5B54CF |
|---|---|
| RGB | rgb(91, 84, 207) |
| HSL | hsl(243, 56%, 57%) |
| HSV | hsv(243, 59%, 81%) |
| CMYK | cmyk(56%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(42.87, 37.30, -62.98) |
| CIE-LCH | lch(42.87, 73.19, 300.64°) |
| OKLab | oklab(52.28% 0.0335 -0.1807) |
| OKLCH | oklch(52.28% 0.184 280.5) |
| XYZ | xyz(18.7437, 13.0686, 60.5542) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.25
Warm Blue
#4B57DB
ΔE00 2.95
Slate Blue
#6A5ACD
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 3.42
Dark Periwinkle
#665FD1
ΔE00 3.65
Bluey Purple
#6241C7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B54CF #C8CF54
analogous
#548ACF #5B54CF #9954CF
triadic
#5B54CF #CF5B54 #54CF5B
tetradic
#5B54CF #CF548A #C8CF54 #54CF99
square
#5B54CF #CF548A #C8CF54 #54CF99
split-complementary
#5B54CF #CF9954 #8ACF54
monochromatic
#2A2584 #3A32B3 #5B54CF #8984DC #B7B4EA
Accessibility & contrast
On white
5.81
#5B54CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5B54CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B54CF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B54CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B54CF | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#1E7189
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b54cf; /* rgb */ color: rgb(91, 84, 207); /* oklch */ color: oklch(52.3% 0.184 280.5);
Tailwind
colors: {
custom: {
50: '#9384df',
500: '#5b54cf',
950: '#000000',
},
}SCSS
$custom: #5b54cf; $custom-light: #9384df; $custom-dark: #000000;
JSON
{
"hex": "#5b54cf",
"rgb": {
"r": 91,
"g": 84,
"b": 207
},
"hsl": {
"h": 243.415,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.52276,
"c": 0.18382,
"h": 280.5
},
"luminance": 0.1307
}Semantic roles & 50–950 ramp
primary
#5B54CF
secondary
#D6D8A6
accent
#DF48D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83