#5754AC#5754AC
#5754AC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.137 H 281.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5754AC |
|---|---|
| RGB | rgb(87, 84, 172) |
| HSL | hsl(242, 35%, 50%) |
| HSV | hsv(242, 51%, 67%) |
| CMYK | cmyk(49.4%, 51.2%, 0%, 32.5%) |
| CIE-LAB | lab(40.16, 25.39, -46.95) |
| CIE-LCH | lch(40.16, 53.38, 298.41°) |
| OKLab | oklab(49.42% 0.0277 -0.1337) |
| OKLCH | oklch(49.42% 0.137 281.7) |
| XYZ | xyz(14.5449, 11.3447, 40.4451) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.20
Ocean Blue
#4F42B5
ΔE00 5.79
Twilight
#4E518B
ΔE00 5.93
Slate Blue
#6A5ACD
ΔE00 6.11
Blueberry
#464196
ΔE00 6.53
Light Indigo
#6D5ACF
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5754AC #A9AC54
analogous
#547DAC #5754AC #8354AC
triadic
#5754AC #AC5754 #54AC57
tetradic
#5754AC #AC547D #A9AC54 #54AC83
square
#5754AC #AC547D #A9AC54 #54AC83
split-complementary
#5754AC #AC8354 #7DAC54
monochromatic
#2D2C5A #424083 #5754AC #7F7DC0 #A8A6D4
Accessibility & contrast
On white
6.42
#5754AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#5754AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5754AC
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5754AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5754AC | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#245CAA
Tritanopia (blue-blind)
#386778
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5754ac; /* rgb */ color: rgb(87, 84, 172); /* oklch */ color: oklch(49.4% 0.137 281.7);
Tailwind
colors: {
custom: {
50: '#8c84c5',
500: '#5754ac',
950: '#000000',
},
}SCSS
$custom: #5754ac; $custom-light: #8c84c5; $custom-dark: #000000;
JSON
{
"hex": "#5754ac",
"rgb": {
"r": 87,
"g": 84,
"b": 172
},
"hsl": {
"h": 242.045,
"s": 34.646,
"l": 50.196
},
"oklch": {
"l": 0.49419,
"c": 0.13656,
"h": 281.7
},
"luminance": 0.11345
}Semantic roles & 50–950 ramp
primary
#5754AC
secondary
#C0C29A
accent
#CB5DC7
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82