#5E5BEC#5E5BEC
#5E5BEC is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.212 H 278.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5BEC |
|---|---|
| RGB | rgb(94, 91, 236) |
| HSL | hsl(241, 79%, 64%) |
| HSV | hsv(241, 61%, 93%) |
| CMYK | cmyk(60.2%, 61.4%, 0%, 7.5%) |
| CIE-LAB | lab(46.86, 42.82, -72.96) |
| CIE-LCH | lch(46.86, 84.60, 300.41°) |
| OKLab | oklab(55.95% 0.0294 -0.21) |
| OKLCH | oklch(55.95% 0.212 278) |
| XYZ | xyz(23.4926, 15.9162, 81.1748) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.81
Warm Blue
#4B57DB
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.59
Slate Blue
#6A5ACD
ΔE00 4.60
Iris
#6258C4
ΔE00 5.64
Mediumslateblue
#7B68EE
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5BEC #E9EC5B
analogous
#5BA1EC #5E5BEC #A65BEC
triadic
#5E5BEC #EC5E5B #5BEC5E
tetradic
#5E5BEC #EC5BA1 #E9EC5B #5BECA6
square
#5E5BEC #EC5BA1 #E9EC5B #5BECA6
split-complementary
#5E5BEC #ECA65B #A1EC5B
monochromatic
#1915B7 #2824E6 #5E5BEC #9492F2 #CAC9F9
Accessibility & contrast
On white
5.02
#5E5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#5E5BEC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5BEC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5BEC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5BEC | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5e5bec; /* rgb */ color: rgb(94, 91, 236); /* oklch */ color: oklch(56.0% 0.212 278.0);
Tailwind
colors: {
custom: {
50: '#998af3',
500: '#5e5bec',
950: '#000000',
},
}SCSS
$custom: #5e5bec; $custom-light: #998af3; $custom-dark: #000000;
JSON
{
"hex": "#5e5bec",
"rgb": {
"r": 94,
"g": 91,
"b": 236
},
"hsl": {
"h": 241.241,
"s": 79.235,
"l": 64.118
},
"oklch": {
"l": 0.55951,
"c": 0.21202,
"h": 278
},
"luminance": 0.15918
}Semantic roles & 50–950 ramp
primary
#5E5BEC
secondary
#EAEBB8
accent
#DC0AD7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85