#5E5AF7#5E5AF7
#5E5AF7 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.7% C 0.227 H 277.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5AF7 |
|---|---|
| RGB | rgb(94, 90, 247) |
| HSL | hsl(242, 91%, 66%) |
| HSV | hsv(242, 64%, 97%) |
| CMYK | cmyk(61.9%, 63.6%, 0%, 3.1%) |
| CIE-LAB | lab(47.50, 46.88, -78.09) |
| CIE-LCH | lch(47.50, 91.08, 300.98°) |
| OKLab | oklab(56.68% 0.0294 -0.225) |
| OKLCH | oklch(56.68% 0.227 277.4) |
| XYZ | xyz(25.0553, 16.4054, 89.8239) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.93
Dark Periwinkle
#665FD1
ΔE00 5.07
Light Indigo
#6D5ACF
ΔE00 5.66
Mediumslateblue
#7B68EE
ΔE00 5.76
Slate Blue
#6A5ACD
ΔE00 5.76
Electric Blue
#0652FF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5AF7 #F3F75A
analogous
#5AA4F7 #5E5AF7 #AC5AF7
triadic
#5E5AF7 #F75E5A #5AF75E
tetradic
#5E5AF7 #F75AA4 #F3F75A #5AF7AC
square
#5E5AF7 #F75AA4 #F3F75A #5AF7AC
split-complementary
#5E5AF7 #F7AC5A #A4F75A
monochromatic
#0F0ACD #2520F4 #5E5AF7 #9794FA #D0CFFD
Accessibility & contrast
On white
4.90
#5E5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#5E5AF7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5AF7
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5AF7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5AF7 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5e5af7; /* rgb */ color: rgb(94, 90, 247); /* oklch */ color: oklch(56.7% 0.227 277.4);
Tailwind
colors: {
custom: {
50: '#9b89fb',
500: '#5e5af7',
950: '#000000',
},
}SCSS
$custom: #5e5af7; $custom-light: #9b89fb; $custom-dark: #000000;
JSON
{
"hex": "#5e5af7",
"rgb": {
"r": 94,
"g": 90,
"b": 247
},
"hsl": {
"h": 241.529,
"s": 90.751,
"l": 66.078
},
"oklch": {
"l": 0.56684,
"c": 0.22694,
"h": 277.4
},
"luminance": 0.16407
}Semantic roles & 50–950 ramp
primary
#5E5AF7
secondary
#EFF0BD
accent
#E600E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86