#5E5AEC#5E5AEC
#5E5AEC is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.213 H 278.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5AEC |
|---|---|
| RGB | rgb(94, 90, 236) |
| HSL | hsl(242, 79%, 64%) |
| HSV | hsv(242, 62%, 93%) |
| CMYK | cmyk(60.2%, 61.9%, 0%, 7.5%) |
| CIE-LAB | lab(46.64, 43.41, -73.33) |
| CIE-LCH | lch(46.64, 85.21, 300.62°) |
| OKLab | oklab(55.79% 0.0302 -0.211) |
| OKLCH | oklch(55.79% 0.213 278.2) |
| XYZ | xyz(23.4077, 15.7464, 81.1465) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 4.55
Iris
#6258C4
ΔE00 5.57
Electric Blue
#0652FF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5AEC #E8EC5A
analogous
#5A9FEC #5E5AEC #A75AEC
triadic
#5E5AEC #EC5E5A #5AEC5E
tetradic
#5E5AEC #EC5A9F #E8EC5A #5AECA7
square
#5E5AEC #EC5A9F #E8EC5A #5AECA7
split-complementary
#5E5AEC #ECA75A #9FEC5A
monochromatic
#1915B7 #2823E6 #5E5AEC #9491F2 #C9C8F9
Accessibility & contrast
On white
5.06
#5E5AEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5E5AEC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5AEC
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5AEC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5AEC | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5e5aec; /* rgb */ color: rgb(94, 90, 236); /* oklch */ color: oklch(55.8% 0.213 278.2);
Tailwind
colors: {
custom: {
50: '#9989f3',
500: '#5e5aec',
950: '#000000',
},
}SCSS
$custom: #5e5aec; $custom-light: #9989f3; $custom-dark: #000000;
JSON
{
"hex": "#5e5aec",
"rgb": {
"r": 94,
"g": 90,
"b": 236
},
"hsl": {
"h": 241.644,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.55787,
"c": 0.2132,
"h": 278.2
},
"luminance": 0.15748
}Semantic roles & 50–950 ramp
primary
#5E5AEC
secondary
#E9EBB7
accent
#DC0AD6
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85