#5C54BB#5C54BB
#5C54BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.157 H 282.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5C54BB |
|---|---|
| RGB | rgb(92, 84, 187) |
| HSL | hsl(245, 43%, 53%) |
| HSV | hsv(245, 55%, 73%) |
| CMYK | cmyk(50.8%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.54, 31.21, -53.53) |
| CIE-LCH | lch(41.54, 61.96, 300.24°) |
| OKLab | oklab(50.87% 0.0347 -0.1529) |
| OKLCH | oklch(50.87% 0.157 282.8) |
| XYZ | xyz(16.5509, 12.2029, 48.4874) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.97
Slate Blue
#6A5ACD
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 4.83
Warm Blue
#4B57DB
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C54BB #B3BB54
analogous
#547FBB #5C54BB #8F54BB
triadic
#5C54BB #BB5C54 #54BB5C
tetradic
#5C54BB #BB547F #B3BB54 #54BB8F
square
#5C54BB #BB547F #B3BB54 #54BB8F
split-complementary
#5C54BB #BB8F54 #7FBB54
monochromatic
#2F2A6A #433C96 #5C54BB #8680CC #AFACDE
Accessibility & contrast
On white
6.10
#5C54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5C54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C54BB
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C54BB | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BF
Deuteranopia (green-blind)
#085EB9
Tritanopia (blue-blind)
#376B7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5c54bb; /* rgb */ color: rgb(92, 84, 187); /* oklch */ color: oklch(50.9% 0.157 282.8);
Tailwind
colors: {
custom: {
50: '#9184d0',
500: '#5c54bb',
950: '#000000',
},
}SCSS
$custom: #5c54bb; $custom-light: #9184d0; $custom-dark: #000000;
JSON
{
"hex": "#5c54bb",
"rgb": {
"r": 92,
"g": 84,
"b": 187
},
"hsl": {
"h": 244.66,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.50866,
"c": 0.15681,
"h": 282.8
},
"luminance": 0.12204
}Semantic roles & 50–950 ramp
primary
#5C54BB
secondary
#C8CC9F
accent
#D355C9
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82