#5E5EF5#5E5EF5
#5E5EF5 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.2% C 0.220 H 276.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5EF5 |
|---|---|
| RGB | rgb(94, 94, 245) |
| HSL | hsl(240, 88%, 66%) |
| HSV | hsv(240, 62%, 96%) |
| CMYK | cmyk(61.6%, 61.6%, 0%, 3.9%) |
| CIE-LAB | lab(48.23, 43.91, -75.78) |
| CIE-LCH | lch(48.23, 87.59, 300.09°) |
| OKLab | oklab(57.17% 0.0264 -0.2182) |
| OKLCH | oklch(57.17% 0.22 276.9) |
| XYZ | xyz(25.0949, 16.9757, 88.3227) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.80
Warm Blue
#4B57DB
ΔE00 5.10
Mediumslateblue
#7B68EE
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 5.85
Electric Blue
#0652FF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5EF5 #F5F55E
analogous
#5EAAF5 #5E5EF5 #AA5EF5
triadic
#5E5EF5 #F55E5E #5EF55E
tetradic
#5E5EF5 #F55EAA #F5F55E #5EF5AA
square
#5E5EF5 #F55EAA #F5F55E #5EF5AA
split-complementary
#5E5EF5 #F5AA5E #AAF55E
monochromatic
#0D0DCC #2424F1 #5E5EF5 #9898F9 #D1D1FC
Accessibility & contrast
On white
4.78
#5E5EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#5E5EF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5EF5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5EF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5EF5 | 1.00 | 4.78 | 4.40 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5e5ef5; /* rgb */ color: rgb(94, 94, 245); /* oklch */ color: oklch(57.2% 0.220 276.9);
Tailwind
colors: {
custom: {
50: '#9a8cfa',
500: '#5e5ef5',
950: '#000000',
},
}SCSS
$custom: #5e5ef5; $custom-light: #9a8cfa; $custom-dark: #000000;
JSON
{
"hex": "#5e5ef5",
"rgb": {
"r": 94,
"g": 94,
"b": 245
},
"hsl": {
"h": 240,
"s": 88.304,
"l": 66.471
},
"oklch": {
"l": 0.57167,
"c": 0.21983,
"h": 276.9
},
"luminance": 0.16978
}Semantic roles & 50–950 ramp
primary
#5E5EF5
secondary
#F0F0BF
accent
#E501E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85