#5754BF#5754BF
#5754BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.163 H 280.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5754BF |
|---|---|
| RGB | rgb(87, 84, 191) |
| HSL | hsl(242, 46%, 54%) |
| HSV | hsv(242, 56%, 75%) |
| CMYK | cmyk(54.5%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(41.42, 31.44, -56.07) |
| CIE-LCH | lch(41.42, 64.29, 299.28°) |
| OKLab | oklab(50.77% 0.0287 -0.1605) |
| OKLCH | oklch(50.77% 0.163 280.1) |
| XYZ | xyz(16.5018, 12.1274, 50.7514) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.25
Slate Blue
#6A5ACD
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.70
Dark Periwinkle
#665FD1
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5754BF #BCBF54
analogous
#5487BF #5754BF #8D54BF
triadic
#5754BF #BF5754 #54BF57
tetradic
#5754BF #BF5487 #BCBF54 #54BF8D
square
#5754BF #BF5487 #BCBF54 #54BF8D
split-complementary
#5754BF #BF8D54 #87BF54
monochromatic
#2C2A6F #3D3A9C #5754BF #8381D0 #AFADE0
Accessibility & contrast
On white
6.13
#5754BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5754BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5754BF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5754BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5754BF | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#266D81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5754bf; /* rgb */ color: rgb(87, 84, 191); /* oklch */ color: oklch(50.8% 0.163 280.1);
Tailwind
colors: {
custom: {
50: '#8f84d3',
500: '#5754bf',
950: '#000000',
},
}SCSS
$custom: #5754bf; $custom-light: #8f84d3; $custom-dark: #000000;
JSON
{
"hex": "#5754bf",
"rgb": {
"r": 87,
"g": 84,
"b": 191
},
"hsl": {
"h": 241.682,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.50766,
"c": 0.16309,
"h": 280.1
},
"luminance": 0.12128
}Semantic roles & 50–950 ramp
primary
#5754BF
secondary
#CDCEA1
accent
#D553D2
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83