#5E5FED#5E5FED
#5E5FED is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.208 H 277.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FED |
|---|---|
| RGB | rgb(94, 95, 237) |
| HSL | hsl(240, 80%, 65%) |
| HSV | hsv(240, 60%, 93%) |
| CMYK | cmyk(60.3%, 59.9%, 0%, 7.1%) |
| CIE-LAB | lab(47.85, 40.77, -71.92) |
| CIE-LCH | lch(47.85, 82.67, 299.55°) |
| OKLab | oklab(56.7% 0.0259 -0.2069) |
| OKLCH | oklch(56.7% 0.208 277.1) |
| XYZ | xyz(23.9894, 16.6767, 82.0591) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.89
Warm Blue
#4B57DB
ΔE00 4.46
Light Indigo
#6D5ACF
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.11
Mediumslateblue
#7B68EE
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FED #EDEC5E
analogous
#5EA7ED #5E5FED #A45EED
triadic
#5E5FED #ED5E5F #5FED5E
tetradic
#5E5FED #ED5EA7 #EDEC5E #5EEDA4
square
#5E5FED #ED5EA7 #EDEC5E #5EEDA4
split-complementary
#5E5FED #EDA45E #A7ED5E
monochromatic
#1516BC #2728E7 #5E5FED #9596F3 #CCCCF9
Accessibility & contrast
On white
4.84
#5E5FED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#5E5FED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FED
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FED | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5e5fed; /* rgb */ color: rgb(94, 95, 237); /* oklch */ color: oklch(56.7% 0.208 277.1);
Tailwind
colors: {
custom: {
50: '#998cf4',
500: '#5e5fed',
950: '#000000',
},
}SCSS
$custom: #5e5fed; $custom-light: #998cf4; $custom-dark: #000000;
JSON
{
"hex": "#5e5fed",
"rgb": {
"r": 94,
"g": 95,
"b": 237
},
"hsl": {
"h": 239.58,
"s": 79.888,
"l": 64.902
},
"oklch": {
"l": 0.56699,
"c": 0.20849,
"h": 277.1
},
"luminance": 0.16679
}Semantic roles & 50–950 ramp
primary
#5E5FED
secondary
#ECEBBB
accent
#DB09DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85