#5754AE#5754AE
#5754AE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.139 H 281.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5754AE |
|---|---|
| RGB | rgb(87, 84, 174) |
| HSL | hsl(242, 36%, 51%) |
| HSV | hsv(242, 52%, 68%) |
| CMYK | cmyk(50%, 51.7%, 0%, 31.8%) |
| CIE-LAB | lab(40.28, 26.03, -47.93) |
| CIE-LCH | lch(40.28, 54.54, 298.50°) |
| OKLab | oklab(49.56% 0.0279 -0.1366) |
| OKLCH | oklch(49.56% 0.139 281.5) |
| XYZ | xyz(14.7385, 11.4221, 41.4643) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.92
Ocean Blue
#4F42B5
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.85
Twilight
#4E518B
ΔE00 6.25
Light Indigo
#6D5ACF
ΔE00 6.39
Dark Periwinkle
#665FD1
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5754AE #ABAE54
analogous
#547EAE #5754AE #8454AE
triadic
#5754AE #AE5754 #54AE57
tetradic
#5754AE #AE547E #ABAE54 #54AE84
square
#5754AE #AE547E #ABAE54 #54AE84
split-complementary
#5754AE #AE8454 #7EAE54
monochromatic
#2D2C5C #423F86 #5754AE #807EC2 #A9A7D5
Accessibility & contrast
On white
6.39
#5754AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5754AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5754AE
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5754AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5754AE | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#366879
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5754ae; /* rgb */ color: rgb(87, 84, 174); /* oklch */ color: oklch(49.6% 0.139 281.5);
Tailwind
colors: {
custom: {
50: '#8c84c7',
500: '#5754ae',
950: '#000000',
},
}SCSS
$custom: #5754ae; $custom-light: #8c84c7; $custom-dark: #000000;
JSON
{
"hex": "#5754ae",
"rgb": {
"r": 87,
"g": 84,
"b": 174
},
"hsl": {
"h": 242,
"s": 35.714,
"l": 50.588
},
"oklch": {
"l": 0.49555,
"c": 0.1394,
"h": 281.5
},
"luminance": 0.11423
}Semantic roles & 50–950 ramp
primary
#5754AE
secondary
#C2C39B
accent
#CC5CC8
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82