#5C54BE#5C54BE
#5C54BE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.161 H 282.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5C54BE |
|---|---|
| RGB | rgb(92, 84, 190) |
| HSL | hsl(245, 45%, 54%) |
| HSV | hsv(245, 56%, 75%) |
| CMYK | cmyk(51.6%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(41.74, 32.14, -54.95) |
| CIE-LCH | lch(41.74, 63.66, 300.33°) |
| OKLab | oklab(51.08% 0.0348 -0.1571) |
| OKLCH | oklch(51.08% 0.161 282.5) |
| XYZ | xyz(16.8754, 12.3327, 50.1965) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.71
Slate Blue
#6A5ACD
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C54BE #B6BE54
analogous
#5481BE #5C54BE #9154BE
triadic
#5C54BE #BE5C54 #54BE5C
tetradic
#5C54BE #BE5481 #B6BE54 #54BE91
square
#5C54BE #BE5481 #B6BE54 #54BE91
split-complementary
#5C54BE #BE9154 #81BE54
monochromatic
#2F2A6E #423B9A #5C54BE #8680CF #B1ADE0
Accessibility & contrast
On white
6.06
#5C54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5C54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C54BE
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C54BE | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D66C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#356C81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5c54be; /* rgb */ color: rgb(92, 84, 190); /* oklch */ color: oklch(51.1% 0.161 282.5);
Tailwind
colors: {
custom: {
50: '#9184d2',
500: '#5c54be',
950: '#000000',
},
}SCSS
$custom: #5c54be; $custom-light: #9184d2; $custom-dark: #000000;
JSON
{
"hex": "#5c54be",
"rgb": {
"r": 92,
"g": 84,
"b": 190
},
"hsl": {
"h": 244.528,
"s": 44.915,
"l": 53.725
},
"oklch": {
"l": 0.51081,
"c": 0.16091,
"h": 282.5
},
"luminance": 0.12334
}Semantic roles & 50–950 ramp
primary
#5C54BE
secondary
#CACEA0
accent
#D553CB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83