#5D5EC6#5D5EC6
#5D5EC6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.158 H 279.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5D5EC6 |
|---|---|
| RGB | rgb(93, 94, 198) |
| HSL | hsl(239, 48%, 57%) |
| HSV | hsv(239, 53%, 78%) |
| CMYK | cmyk(53%, 52.5%, 0%, 22.4%) |
| CIE-LAB | lab(44.81, 28.72, -54.63) |
| CIE-LCH | lch(44.81, 61.72, 297.73°) |
| OKLab | oklab(53.56% 0.0253 -0.1561) |
| OKLCH | oklch(53.56% 0.158 279.2) |
| XYZ | xyz(18.7068, 14.4086, 55.2105) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.30
Iris
#6258C4
ΔE00 2.38
Slate Blue
#6A5ACD
ΔE00 3.14
Light Indigo
#6D5ACF
ΔE00 3.70
Warm Blue
#4B57DB
ΔE00 4.09
Royal Blue
#4169E1
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D5EC6 #C6C55D
analogous
#5D92C6 #5D5EC6 #915DC6
triadic
#5D5EC6 #C65D5E #5EC65D
tetradic
#5D5EC6 #C65D92 #C6C55D #5DC691
square
#5D5EC6 #C65D92 #C6C55D #5DC691
split-complementary
#5D5EC6 #C6915D #92C65D
monochromatic
#2C2D7D #3C3DAA #5D5EC6 #8A8BD6 #B8B8E6
Accessibility & contrast
On white
5.41
#5D5EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5D5EC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D5EC6
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D5EC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D5EC6 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256ECA
Deuteranopia (green-blind)
#1666C4
Tritanopia (blue-blind)
#2F7589
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5d5ec6; /* rgb */ color: rgb(93, 94, 198); /* oklch */ color: oklch(53.6% 0.158 279.2);
Tailwind
colors: {
custom: {
50: '#938bd8',
500: '#5d5ec6',
950: '#000000',
},
}SCSS
$custom: #5d5ec6; $custom-light: #938bd8; $custom-dark: #000000;
JSON
{
"hex": "#5d5ec6",
"rgb": {
"r": 93,
"g": 94,
"b": 198
},
"hsl": {
"h": 239.429,
"s": 47.945,
"l": 57.059
},
"oklch": {
"l": 0.53563,
"c": 0.15811,
"h": 279.2
},
"luminance": 0.1441
}Semantic roles & 50–950 ramp
primary
#5D5EC6
secondary
#D5D4AA
accent
#D650D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83