#5754C8#5754C8
#5754C8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.4% C 0.175 H 279.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5754C8 |
|---|---|
| RGB | rgb(87, 84, 200) |
| HSL | hsl(242, 51%, 56%) |
| HSV | hsv(242, 58%, 78%) |
| CMYK | cmyk(56.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(42.06, 34.33, -60.27) |
| CIE-LCH | lch(42.06, 69.36, 299.67°) |
| OKLab | oklab(51.44% 0.0287 -0.1729) |
| OKLCH | oklch(51.44% 0.175 279.4) |
| XYZ | xyz(17.5228, 12.5358, 56.1287) |
| Luminance | 0.1254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.20
Warm Blue
#4B57DB
ΔE00 3.17
Slate Blue
#6A5ACD
ΔE00 3.63
Dark Periwinkle
#665FD1
ΔE00 4.17
Light Indigo
#6D5ACF
ΔE00 4.17
Bluey Purple
#6241C7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5754C8 #C5C854
analogous
#548BC8 #5754C8 #9154C8
triadic
#5754C8 #C85754 #54C857
tetradic
#5754C8 #C8548B #C5C854 #54C891
square
#5754C8 #C8548B #C5C854 #54C891
split-complementary
#5754C8 #C89154 #8BC854
monochromatic
#29277A #3936A9 #5754C8 #8482D7 #B2B1E6
Accessibility & contrast
On white
5.99
#5754C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#5754C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5754C8
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5754C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5754C8 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#196F86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5754c8; /* rgb */ color: rgb(87, 84, 200); /* oklch */ color: oklch(51.4% 0.175 279.4);
Tailwind
colors: {
custom: {
50: '#9084d9',
500: '#5754c8',
950: '#000000',
},
}SCSS
$custom: #5754c8; $custom-light: #9084d9; $custom-dark: #000000;
JSON
{
"hex": "#5754c8",
"rgb": {
"r": 87,
"g": 84,
"b": 200
},
"hsl": {
"h": 241.552,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.5144,
"c": 0.17526,
"h": 279.4
},
"luminance": 0.12537
}Semantic roles & 50–950 ramp
primary
#5754C8
secondary
#D3D4A4
accent
#DB4DD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83