#5E5CD8#5E5CD8
#5E5CD8 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.6% C 0.185 H 279.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5CD8 |
|---|---|
| RGB | rgb(94, 92, 216) |
| HSL | hsl(241, 61%, 60%) |
| HSV | hsv(241, 57%, 85%) |
| CMYK | cmyk(56.5%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(45.62, 35.86, -63.66) |
| CIE-LCH | lch(45.62, 73.06, 299.40°) |
| OKLab | oklab(54.57% 0.0291 -0.1826) |
| OKLCH | oklch(54.57% 0.185 279.1) |
| XYZ | xyz(20.8340, 14.9904, 66.7480) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.79
Slate Blue
#6A5ACD
ΔE00 2.78
Warm Blue
#4B57DB
ΔE00 2.88
Light Indigo
#6D5ACF
ΔE00 3.09
Iris
#6258C4
ΔE00 3.28
Azul
#1D5DEC
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5CD8 #D6D85C
analogous
#5C98D8 #5E5CD8 #9C5CD8
triadic
#5E5CD8 #D85E5C #5CD85E
tetradic
#5E5CD8 #D85C98 #D6D85C #5CD89C
square
#5E5CD8 #D85C98 #D6D85C #5CD89C
split-complementary
#5E5CD8 #D89C5C #98D85C
monochromatic
#262496 #3230C7 #5E5CD8 #8F8DE4 #C0BFF0
Accessibility & contrast
On white
5.25
#5E5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#5E5CD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5CD8
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5CD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5CD8 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#197991
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5e5cd8; /* rgb */ color: rgb(94, 92, 216); /* oklch */ color: oklch(54.6% 0.185 279.1);
Tailwind
colors: {
custom: {
50: '#968ae5',
500: '#5e5cd8',
950: '#000000',
},
}SCSS
$custom: #5e5cd8; $custom-light: #968ae5; $custom-dark: #000000;
JSON
{
"hex": "#5e5cd8",
"rgb": {
"r": 94,
"g": 92,
"b": 216
},
"hsl": {
"h": 240.968,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.54572,
"c": 0.1849,
"h": 279.1
},
"luminance": 0.14992
}Semantic roles & 50–950 ramp
primary
#5E5CD8
secondary
#DFE0B0
accent
#C91CC6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84