#5E5FEE#5E5FEE
#5E5FEE is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.210 H 277.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FEE |
|---|---|
| RGB | rgb(94, 95, 238) |
| HSL | hsl(240, 81%, 65%) |
| HSV | hsv(240, 61%, 93%) |
| CMYK | cmyk(60.5%, 60.1%, 0%, 6.7%) |
| CIE-LAB | lab(47.92, 41.09, -72.36) |
| CIE-LCH | lch(47.92, 83.21, 299.59°) |
| OKLab | oklab(56.78% 0.0259 -0.2082) |
| OKLCH | oklch(56.78% 0.21 277.1) |
| XYZ | xyz(24.1359, 16.7353, 82.8307) |
| Luminance | 0.1674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FEE #EEED5E
analogous
#5EA7EE #5E5FEE #A55EEE
triadic
#5E5FEE #EE5E5F #5FEE5E
tetradic
#5E5FEE #EE5EA7 #EEED5E #5EEEA5
square
#5E5FEE #EE5EA7 #EEED5E #5EEEA5
split-complementary
#5E5FEE #EEA55E #A7EE5E
monochromatic
#1415BE #2728E8 #5E5FEE #9596F4 #CDCDFA
Accessibility & contrast
On white
4.83
#5E5FEE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#5E5FEE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FEE
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FEE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FEE | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5e5fee; /* rgb */ color: rgb(94, 95, 238); /* oklch */ color: oklch(56.8% 0.210 277.1);
Tailwind
colors: {
custom: {
50: '#998cf5',
500: '#5e5fee',
950: '#000000',
},
}SCSS
$custom: #5e5fee; $custom-light: #998cf5; $custom-dark: #000000;
JSON
{
"hex": "#5e5fee",
"rgb": {
"r": 94,
"g": 95,
"b": 238
},
"hsl": {
"h": 239.583,
"s": 80.899,
"l": 65.098
},
"oklch": {
"l": 0.56777,
"c": 0.20977,
"h": 277.1
},
"luminance": 0.16737
}Semantic roles & 50–950 ramp
primary
#5E5FEE
secondary
#ECECBB
accent
#DC08DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85