#5D5CE3#5D5CE3
#5D5CE3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.200 H 278.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5CE3 |
|---|---|
| RGB | rgb(93, 92, 227) |
| HSL | hsl(240, 71%, 63%) |
| HSV | hsv(240, 59%, 89%) |
| CMYK | cmyk(59%, 59.5%, 0%, 11%) |
| CIE-LAB | lab(46.35, 39.20, -68.73) |
| CIE-LCH | lch(46.35, 79.12, 299.70°) |
| OKLab | oklab(55.34% 0.0277 -0.1976) |
| OKLCH | oklch(55.34% 0.2 278) |
| XYZ | xyz(22.2020, 15.5259, 74.4850) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.83
Warm Blue
#4B57DB
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 3.94
Iris
#6258C4
ΔE00 4.64
Azul
#1D5DEC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5CE3 #E2E35C
analogous
#5C9FE3 #5D5CE3 #A05CE3
triadic
#5D5CE3 #E35D5C #5CE35D
tetradic
#5D5CE3 #E35C9F #E2E35C #5CE3A0
square
#5D5CE3 #E35C9F #E2E35C #5CE3A0
split-complementary
#5D5CE3 #E3A05C #9FE35C
monochromatic
#1E1DA8 #2928DA #5D5CE3 #9190EC #C5C4F5
Accessibility & contrast
On white
5.12
#5D5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#5D5CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5CE3
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5CE3 | 1.00 | 5.12 | 4.11 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5d5ce3; /* rgb */ color: rgb(93, 92, 227); /* oklch */ color: oklch(55.3% 0.200 278.0);
Tailwind
colors: {
custom: {
50: '#978aed',
500: '#5d5ce3',
950: '#000000',
},
}SCSS
$custom: #5d5ce3; $custom-light: #978aed; $custom-dark: #000000;
JSON
{
"hex": "#5d5ce3",
"rgb": {
"r": 93,
"g": 92,
"b": 227
},
"hsl": {
"h": 240.444,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.55341,
"c": 0.1995,
"h": 278
},
"luminance": 0.15527
}Semantic roles & 50–950 ramp
primary
#5D5CE3
secondary
#E6E6B5
accent
#D313D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84