#5E5FE5#5E5FE5
#5E5FE5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.1% C 0.198 H 277.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FE5 |
|---|---|
| RGB | rgb(94, 95, 229) |
| HSL | hsl(240, 72%, 63%) |
| HSV | hsv(240, 59%, 90%) |
| CMYK | cmyk(59%, 58.5%, 0%, 10.2%) |
| CIE-LAB | lab(47.26, 38.21, -68.37) |
| CIE-LCH | lch(47.26, 78.32, 299.20°) |
| OKLab | oklab(56.08% 0.0261 -0.1965) |
| OKLCH | oklch(56.08% 0.198 277.6) |
| XYZ | xyz(22.8466, 16.2196, 76.0403) |
| Luminance | 0.1622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.97
Warm Blue
#4B57DB
ΔE00 3.82
Slate Blue
#6A5ACD
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.39
Iris
#6258C4
ΔE00 5.25
Mediumslateblue
#7B68EE
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FE5 #E5E45E
analogous
#5EA2E5 #5E5FE5 #A15EE5
triadic
#5E5FE5 #E55E5F #5FE55E
tetradic
#5E5FE5 #E55EA2 #E5E45E #5EE5A1
square
#5E5FE5 #E55EA2 #E5E45E #5EE5A1
split-complementary
#5E5FE5 #E5A15E #A2E55E
monochromatic
#1C1DAD #292BDC #5E5FE5 #9393EE #C7C8F6
Accessibility & contrast
On white
4.95
#5E5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5E5FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FE5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FE5 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5e5fe5; /* rgb */ color: rgb(94, 95, 229); /* oklch */ color: oklch(56.1% 0.198 277.6);
Tailwind
colors: {
custom: {
50: '#988cee',
500: '#5e5fe5',
950: '#000000',
},
}SCSS
$custom: #5e5fe5; $custom-light: #988cee; $custom-dark: #000000;
JSON
{
"hex": "#5e5fe5",
"rgb": {
"r": 94,
"g": 95,
"b": 229
},
"hsl": {
"h": 239.556,
"s": 72.193,
"l": 63.333
},
"oklch": {
"l": 0.5608,
"c": 0.19818,
"h": 277.6
},
"luminance": 0.16221
}Semantic roles & 50–950 ramp
primary
#5E5FE5
secondary
#E7E7B7
accent
#D311D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84