#5E5FF5#5E5FF5
#5E5FF5 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.219 H 276.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FF5 |
|---|---|
| RGB | rgb(94, 95, 245) |
| HSL | hsl(240, 88%, 66%) |
| HSV | hsv(240, 62%, 96%) |
| CMYK | cmyk(61.6%, 61.2%, 0%, 3.9%) |
| CIE-LAB | lab(48.45, 43.32, -75.42) |
| CIE-LCH | lch(48.45, 86.97, 299.88°) |
| OKLab | oklab(57.33% 0.0255 -0.2172) |
| OKLCH | oklch(57.33% 0.219 276.7) |
| XYZ | xyz(25.1844, 17.1547, 88.3525) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.83
Mediumslateblue
#7B68EE
ΔE00 5.01
Warm Blue
#4B57DB
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 5.96
Electric Blue
#0652FF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FF5 #F5F45E
analogous
#5EABF5 #5E5FF5 #A95EF5
triadic
#5E5FF5 #F55E5F #5FF55E
tetradic
#5E5FF5 #F55EAB #F5F45E #5EF5A9
square
#5E5FF5 #F55EAB #F5F45E #5EF5A9
split-complementary
#5E5FF5 #F5A95E #ABF55E
monochromatic
#0D0ECC #2426F1 #5E5FF5 #9898F9 #D1D2FC
Accessibility & contrast
On white
4.74
#5E5FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#5E5FF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FF5
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FF5 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#006DF2
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5e5ff5; /* rgb */ color: rgb(94, 95, 245); /* oklch */ color: oklch(57.3% 0.219 276.7);
Tailwind
colors: {
custom: {
50: '#9a8df9',
500: '#5e5ff5',
950: '#000000',
},
}SCSS
$custom: #5e5ff5; $custom-light: #9a8df9; $custom-dark: #000000;
JSON
{
"hex": "#5e5ff5",
"rgb": {
"r": 94,
"g": 95,
"b": 245
},
"hsl": {
"h": 239.603,
"s": 88.304,
"l": 66.471
},
"oklch": {
"l": 0.57332,
"c": 0.21866,
"h": 276.7
},
"luminance": 0.17157
}Semantic roles & 50–950 ramp
primary
#5E5FF5
secondary
#F0F0BF
accent
#E301E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85