#5E5DE2#5E5DE2
#5E5DE2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.197 H 278.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5DE2 |
|---|---|
| RGB | rgb(94, 93, 226) |
| HSL | hsl(240, 70%, 63%) |
| HSV | hsv(240, 59%, 89%) |
| CMYK | cmyk(58.4%, 58.8%, 0%, 11.4%) |
| CIE-LAB | lab(46.58, 38.45, -67.79) |
| CIE-LCH | lch(46.58, 77.93, 299.56°) |
| OKLab | oklab(55.51% 0.028 -0.1947) |
| OKLCH | oklch(55.51% 0.197 278.2) |
| XYZ | xyz(22.2535, 15.6978, 73.7941) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.62
Warm Blue
#4B57DB
ΔE00 3.31
Slate Blue
#6A5ACD
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 3.87
Iris
#6258C4
ΔE00 4.61
Mediumslateblue
#7B68EE
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5DE2 #E1E25D
analogous
#5D9FE2 #5E5DE2 #A05DE2
triadic
#5E5DE2 #E25E5D #5DE25E
tetradic
#5E5DE2 #E25D9F #E1E25D #5DE2A0
square
#5E5DE2 #E25D9F #E1E25D #5DE2A0
split-complementary
#5E5DE2 #E2A05D #9FE25D
monochromatic
#1F1EA7 #2A29D9 #5E5DE2 #9291EB #C5C5F5
Accessibility & contrast
On white
5.07
#5E5DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5E5DE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5DE2
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5DE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5DE2 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5e5de2; /* rgb */ color: rgb(94, 93, 226); /* oklch */ color: oklch(55.5% 0.197 278.2);
Tailwind
colors: {
custom: {
50: '#978bec',
500: '#5e5de2',
950: '#000000',
},
}SCSS
$custom: #5e5de2; $custom-light: #978bec; $custom-dark: #000000;
JSON
{
"hex": "#5e5de2",
"rgb": {
"r": 94,
"g": 93,
"b": 226
},
"hsl": {
"h": 240.451,
"s": 69.634,
"l": 62.549
},
"oklch": {
"l": 0.55505,
"c": 0.19675,
"h": 278.2
},
"luminance": 0.15699
}Semantic roles & 50–950 ramp
primary
#5E5DE2
secondary
#E5E6B5
accent
#D214D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84