#5754BB#5754BB
#5754BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.158 H 280.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #5754BB |
|---|---|
| RGB | rgb(87, 84, 187) |
| HSL | hsl(242, 43%, 53%) |
| HSV | hsv(242, 55%, 73%) |
| CMYK | cmyk(53.5%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.14, 30.16, -54.18) |
| CIE-LCH | lch(41.14, 62.01, 299.10°) |
| OKLab | oklab(50.47% 0.0286 -0.155) |
| OKLCH | oklch(50.47% 0.158 280.4) |
| XYZ | xyz(16.0677, 11.9538, 48.4647) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.80
Light Indigo
#6D5ACF
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5754BB #B8BB54
analogous
#5484BB #5754BB #8B54BB
triadic
#5754BB #BB5754 #54BB57
tetradic
#5754BB #BB5484 #B8BB54 #54BB8B
square
#5754BB #BB5484 #B8BB54 #54BB8B
split-complementary
#5754BB #BB8B54 #84BB54
monochromatic
#2C2A6A #3E3C96 #5754BB #8280CC #ADACDE
Accessibility & contrast
On white
6.19
#5754BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5754BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5754BB
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5754BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5754BB | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#2B6B7F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5754bb; /* rgb */ color: rgb(87, 84, 187); /* oklch */ color: oklch(50.5% 0.158 280.4);
Tailwind
colors: {
custom: {
50: '#8e84d0',
500: '#5754bb',
950: '#000000',
},
}SCSS
$custom: #5754bb; $custom-light: #8e84d0; $custom-dark: #000000;
JSON
{
"hex": "#5754bb",
"rgb": {
"r": 87,
"g": 84,
"b": 187
},
"hsl": {
"h": 241.748,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.50473,
"c": 0.1576,
"h": 280.4
},
"luminance": 0.11955
}Semantic roles & 50–950 ramp
primary
#5754BB
secondary
#CACC9F
accent
#D355CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82