#5E54BF#5E54BF
#5E54BF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.162 H 283.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5E54BF |
|---|---|
| RGB | rgb(94, 84, 191) |
| HSL | hsl(246, 46%, 54%) |
| HSV | hsv(246, 56%, 75%) |
| CMYK | cmyk(50.8%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(41.97, 32.87, -55.15) |
| CIE-LCH | lch(41.97, 64.21, 300.80°) |
| OKLab | oklab(51.32% 0.0373 -0.1576) |
| OKLCH | oklch(51.32% 0.162 283.3) |
| XYZ | xyz(17.1876, 12.4810, 50.7835) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.50
Slate Blue
#6A5ACD
ΔE00 3.31
Light Indigo
#6D5ACF
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 4.38
Warm Blue
#4B57DB
ΔE00 4.91
Bluey Purple
#6241C7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E54BF #B5BF54
analogous
#5480BF #5E54BF #9454BF
triadic
#5E54BF #BF5E54 #54BF5E
tetradic
#5E54BF #BF5480 #B5BF54 #54BF94
square
#5E54BF #BF5480 #B5BF54 #54BF94
split-complementary
#5E54BF #BF9454 #80BF54
monochromatic
#302A6F #433A9C #5E54BF #8881D0 #B2ADE0
Accessibility & contrast
On white
6.01
#5E54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5E54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E54BF
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E54BF | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C66C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#396C81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5e54bf; /* rgb */ color: rgb(94, 84, 191); /* oklch */ color: oklch(51.3% 0.162 283.3);
Tailwind
colors: {
custom: {
50: '#9384d3',
500: '#5e54bf',
950: '#000000',
},
}SCSS
$custom: #5e54bf; $custom-light: #9384d3; $custom-dark: #000000;
JSON
{
"hex": "#5e54bf",
"rgb": {
"r": 94,
"g": 84,
"b": 191
},
"hsl": {
"h": 245.607,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.51315,
"c": 0.162,
"h": 283.3
},
"luminance": 0.12482
}Semantic roles & 50–950 ramp
primary
#5E54BF
secondary
#CACEA1
accent
#D553C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83