#5E5FE2#5E5FE2
#5E5FE2 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.9% C 0.194 H 277.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FE2 |
|---|---|
| RGB | rgb(94, 95, 226) |
| HSL | hsl(240, 69%, 63%) |
| HSV | hsv(240, 58%, 89%) |
| CMYK | cmyk(58.4%, 58%, 0%, 11.4%) |
| CIE-LAB | lab(47.04, 37.24, -67.03) |
| CIE-LCH | lch(47.04, 76.68, 299.06°) |
| OKLab | oklab(55.85% 0.0262 -0.1925) |
| OKLCH | oklch(55.85% 0.194 277.7) |
| XYZ | xyz(22.4314, 16.0535, 73.8533) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 3.63
Slate Blue
#6A5ACD
ΔE00 4.03
Light Indigo
#6D5ACF
ΔE00 4.15
Iris
#6258C4
ΔE00 4.90
Mediumslateblue
#7B68EE
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FE2 #E2E15E
analogous
#5EA1E2 #5E5FE2 #9F5EE2
triadic
#5E5FE2 #E25E5F #5FE25E
tetradic
#5E5FE2 #E25EA1 #E2E15E #5EE29F
square
#5E5FE2 #E25EA1 #E2E15E #5EE29F
split-complementary
#5E5FE2 #E29F5E #A1E25E
monochromatic
#1E1FA7 #2A2BD9 #5E5FE2 #9293EB #C6C6F5
Accessibility & contrast
On white
4.99
#5E5FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#5E5FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FE2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FE2 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5e5fe2; /* rgb */ color: rgb(94, 95, 226); /* oklch */ color: oklch(55.9% 0.194 277.7);
Tailwind
colors: {
custom: {
50: '#978cec',
500: '#5e5fe2',
950: '#000000',
},
}SCSS
$custom: #5e5fe2; $custom-light: #978cec; $custom-dark: #000000;
JSON
{
"hex": "#5e5fe2",
"rgb": {
"r": 94,
"g": 95,
"b": 226
},
"hsl": {
"h": 239.545,
"s": 69.474,
"l": 62.745
},
"oklch": {
"l": 0.55851,
"c": 0.19427,
"h": 277.7
},
"luminance": 0.16055
}Semantic roles & 50–950 ramp
primary
#5E5FE2
secondary
#E6E5B6
accent
#D014D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84