#5E54BB#5E54BB
#5E54BB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.0% C 0.157 H 283.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5E54BB |
|---|---|
| RGB | rgb(94, 84, 187) |
| HSL | hsl(246, 43%, 53%) |
| HSV | hsv(246, 55%, 73%) |
| CMYK | cmyk(49.7%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.70, 31.64, -53.25) |
| CIE-LCH | lch(41.70, 61.94, 300.71°) |
| OKLab | oklab(51.03% 0.0372 -0.1521) |
| OKLCH | oklch(51.03% 0.157 283.8) |
| XYZ | xyz(16.7534, 12.3073, 48.4969) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.86
Slate Blue
#6A5ACD
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 4.21
Dark Periwinkle
#665FD1
ΔE00 4.76
Warm Blue
#4B57DB
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E54BB #B1BB54
analogous
#547DBB #5E54BB #9154BB
triadic
#5E54BB #BB5E54 #54BB5E
tetradic
#5E54BB #BB547D #B1BB54 #54BB91
square
#5E54BB #BB547D #B1BB54 #54BB91
split-complementary
#5E54BB #BB9154 #7DBB54
monochromatic
#302A6A #443C96 #5E54BB #8780CC #B0ACDE
Accessibility & contrast
On white
6.07
#5E54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5E54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E54BB
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E54BB | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#3C6B7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5e54bb; /* rgb */ color: rgb(94, 84, 187); /* oklch */ color: oklch(51.0% 0.157 283.8);
Tailwind
colors: {
custom: {
50: '#9284d0',
500: '#5e54bb',
950: '#000000',
},
}SCSS
$custom: #5e54bb; $custom-light: #9284d0; $custom-dark: #000000;
JSON
{
"hex": "#5e54bb",
"rgb": {
"r": 94,
"g": 84,
"b": 187
},
"hsl": {
"h": 245.825,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.51028,
"c": 0.15655,
"h": 283.8
},
"luminance": 0.12308
}Semantic roles & 50–950 ramp
primary
#5E54BB
secondary
#C7CC9F
accent
#D355C7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82