#5E5CD4#5E5CD4
#5E5CD4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.180 H 279.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5CD4 |
|---|---|
| RGB | rgb(94, 92, 212) |
| HSL | hsl(241, 58%, 60%) |
| HSV | hsv(241, 57%, 83%) |
| CMYK | cmyk(55.7%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(45.34, 34.59, -61.83) |
| CIE-LCH | lch(45.34, 70.85, 299.23°) |
| OKLab | oklab(54.28% 0.0291 -0.1772) |
| OKLCH | oklch(54.28% 0.18 279.3) |
| XYZ | xyz(20.3232, 14.7861, 64.0577) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.60
Slate Blue
#6A5ACD
ΔE00 2.55
Iris
#6258C4
ΔE00 2.81
Light Indigo
#6D5ACF
ΔE00 2.95
Warm Blue
#4B57DB
ΔE00 2.95
Azul
#1D5DEC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5CD4 #D2D45C
analogous
#5C96D4 #5E5CD4 #9A5CD4
triadic
#5E5CD4 #D45E5C #5CD45E
tetradic
#5E5CD4 #D45C96 #D2D45C #5CD49A
square
#5E5CD4 #D45C96 #D2D45C #5CD49A
split-complementary
#5E5CD4 #D49A5C #96D45C
monochromatic
#282690 #3533C0 #5E5CD4 #8E8CE1 #BEBDEE
Accessibility & contrast
On white
5.31
#5E5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5E5CD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5CD4
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5CD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5CD4 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#20788F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5e5cd4; /* rgb */ color: rgb(94, 92, 212); /* oklch */ color: oklch(54.3% 0.180 279.3);
Tailwind
colors: {
custom: {
50: '#958ae2',
500: '#5e5cd4',
950: '#000000',
},
}SCSS
$custom: #5e5cd4; $custom-light: #958ae2; $custom-dark: #000000;
JSON
{
"hex": "#5e5cd4",
"rgb": {
"r": 94,
"g": 92,
"b": 212
},
"hsl": {
"h": 241,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.54275,
"c": 0.17959,
"h": 279.3
},
"luminance": 0.14787
}Semantic roles & 50–950 ramp
primary
#5E5CD4
secondary
#DCDDAF
accent
#E146DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83