#5D54CD#5D54CD
#5D54CD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.181 H 281.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5D54CD |
|---|---|
| RGB | rgb(93, 84, 205) |
| HSL | hsl(244, 55%, 57%) |
| HSV | hsv(244, 59%, 80%) |
| CMYK | cmyk(54.6%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(42.88, 37.04, -61.80) |
| CIE-LCH | lch(42.88, 72.05, 300.93°) |
| OKLab | oklab(52.28% 0.036 -0.1772) |
| OKLCH | oklch(52.28% 0.181 281.5) |
| XYZ | xyz(18.7006, 13.0744, 59.2840) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.93
Slate Blue
#6A5ACD
ΔE00 2.72
Light Indigo
#6D5ACF
ΔE00 3.17
Warm Blue
#4B57DB
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 3.58
Bluey Purple
#6241C7
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D54CD #C4CD54
analogous
#5488CD #5D54CD #9A54CD
triadic
#5D54CD #CD5D54 #54CD5D
tetradic
#5D54CD #CD5488 #C4CD54 #54CD9A
square
#5D54CD #CD5488 #C4CD54 #54CD9A
split-complementary
#5D54CD #CD9A54 #88CD54
monochromatic
#2C2681 #3D34B0 #5D54CD #8A83DB #B7B3E9
Accessibility & contrast
On white
5.81
#5D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5D54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D54CD
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D54CD | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#287188
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5d54cd; /* rgb */ color: rgb(93, 84, 205); /* oklch */ color: oklch(52.3% 0.181 281.5);
Tailwind
colors: {
custom: {
50: '#9484dd',
500: '#5d54cd',
950: '#000000',
},
}SCSS
$custom: #5d54cd; $custom-light: #9484dd; $custom-dark: #000000;
JSON
{
"hex": "#5d54cd",
"rgb": {
"r": 93,
"g": 84,
"b": 205
},
"hsl": {
"h": 244.463,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.52276,
"c": 0.18086,
"h": 281.5
},
"luminance": 0.13076
}Semantic roles & 50–950 ramp
primary
#5D54CD
secondary
#D3D7A6
accent
#DE4AD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83