#5D54C8#5D54C8
#5D54C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.174 H 282.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5D54C8 |
|---|---|
| RGB | rgb(93, 84, 200) |
| HSL | hsl(245, 51%, 56%) |
| HSV | hsv(245, 58%, 78%) |
| CMYK | cmyk(53.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(42.52, 35.47, -59.50) |
| CIE-LCH | lch(42.52, 69.27, 300.80°) |
| OKLab | oklab(51.9% 0.0361 -0.1705) |
| OKLCH | oklch(51.9% 0.174 282) |
| XYZ | xyz(18.1066, 12.8369, 56.1560) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.54
Slate Blue
#6A5ACD
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 3.33
Dark Periwinkle
#665FD1
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 3.79
Bluey Purple
#6241C7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D54C8 #BFC854
analogous
#5485C8 #5D54C8 #9754C8
triadic
#5D54C8 #C85D54 #54C85D
tetradic
#5D54C8 #C85485 #BFC854 #54C897
square
#5D54C8 #C85485 #BFC854 #54C897
split-complementary
#5D54C8 #C89754 #85C854
monochromatic
#2E277A #3F36A9 #5D54C8 #8982D7 #B5B1E6
Accessibility & contrast
On white
5.89
#5D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5D54C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D54C8
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D54C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D54C8 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#2E6F86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5d54c8; /* rgb */ color: rgb(93, 84, 200); /* oklch */ color: oklch(51.9% 0.174 282.0);
Tailwind
colors: {
custom: {
50: '#9384d9',
500: '#5d54c8',
950: '#000000',
},
}SCSS
$custom: #5d54c8; $custom-light: #9384d9; $custom-dark: #000000;
JSON
{
"hex": "#5d54c8",
"rgb": {
"r": 93,
"g": 84,
"b": 200
},
"hsl": {
"h": 244.655,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.51897,
"c": 0.17424,
"h": 282
},
"luminance": 0.12838
}Semantic roles & 50–950 ramp
primary
#5D54C8
secondary
#D0D4A4
accent
#DB4DD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83