#5E5CF5#5E5CF5
#5E5CF5 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.222 H 277.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5CF5 |
|---|---|
| RGB | rgb(94, 92, 245) |
| HSL | hsl(241, 88%, 66%) |
| HSV | hsv(241, 62%, 96%) |
| CMYK | cmyk(61.6%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(47.78, 45.09, -76.51) |
| CIE-LCH | lch(47.78, 88.81, 300.51°) |
| OKLab | oklab(56.84% 0.028 -0.2204) |
| OKLCH | oklch(56.84% 0.222 277.2) |
| XYZ | xyz(24.9193, 16.6246, 88.2642) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.79
Warm Blue
#4B57DB
ΔE00 4.87
Mediumslateblue
#7B68EE
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.66
Electric Blue
#0652FF
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5CF5 #F3F55C
analogous
#5CA6F5 #5E5CF5 #AA5CF5
triadic
#5E5CF5 #F55E5C #5CF55E
tetradic
#5E5CF5 #F55CA6 #F3F55C #5CF5AA
square
#5E5CF5 #F55CA6 #F3F55C #5CF5AA
split-complementary
#5E5CF5 #F5AA5C #A6F55C
monochromatic
#0F0CCA #2522F1 #5E5CF5 #9796F9 #D0CFFC
Accessibility & contrast
On white
4.86
#5E5CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5E5CF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5CF5
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5CF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5CF5 | 1.00 | 4.86 | 4.33 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5e5cf5; /* rgb */ color: rgb(94, 92, 245); /* oklch */ color: oklch(56.8% 0.222 277.2);
Tailwind
colors: {
custom: {
50: '#9b8bfa',
500: '#5e5cf5',
950: '#000000',
},
}SCSS
$custom: #5e5cf5; $custom-light: #9b8bfa; $custom-dark: #000000;
JSON
{
"hex": "#5e5cf5",
"rgb": {
"r": 94,
"g": 92,
"b": 245
},
"hsl": {
"h": 240.784,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.56841,
"c": 0.22215,
"h": 277.2
},
"luminance": 0.16627
}Semantic roles & 50–950 ramp
primary
#5E5CF5
secondary
#EFF0BD
accent
#E500E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85