#5E54BC#5E54BC
#5E54BC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.158 H 283.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5E54BC |
|---|---|
| RGB | rgb(94, 84, 188) |
| HSL | hsl(246, 44%, 53%) |
| HSV | hsv(246, 55%, 74%) |
| CMYK | cmyk(50%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(41.77, 31.94, -53.73) |
| CIE-LCH | lch(41.77, 62.51, 300.73°) |
| OKLab | oklab(51.1% 0.0373 -0.1535) |
| OKLCH | oklch(51.1% 0.158 283.6) |
| XYZ | xyz(16.8608, 12.3503, 49.0626) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.75
Slate Blue
#6A5ACD
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.66
Warm Blue
#4B57DB
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E54BC #B2BC54
analogous
#547EBC #5E54BC #9254BC
triadic
#5E54BC #BC5E54 #54BC5E
tetradic
#5E54BC #BC547E #B2BC54 #54BC92
square
#5E54BC #BC547E #B2BC54 #54BC92
split-complementary
#5E54BC #BC9254 #7EBC54
monochromatic
#302A6B #443B97 #5E54BC #8780CD #B1ACDE
Accessibility & contrast
On white
6.05
#5E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5E54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E54BC
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E54BC | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#095FBA
Tritanopia (blue-blind)
#3B6B80
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5e54bc; /* rgb */ color: rgb(94, 84, 188); /* oklch */ color: oklch(51.1% 0.158 283.6);
Tailwind
colors: {
custom: {
50: '#9284d1',
500: '#5e54bc',
950: '#000000',
},
}SCSS
$custom: #5e54bc; $custom-light: #9284d1; $custom-dark: #000000;
JSON
{
"hex": "#5e54bc",
"rgb": {
"r": 94,
"g": 84,
"b": 188
},
"hsl": {
"h": 245.769,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.51099,
"c": 0.15792,
"h": 283.6
},
"luminance": 0.12351
}Semantic roles & 50–950 ramp
primary
#5E54BC
secondary
#C8CCA0
accent
#D354C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82