#5E5FF2#5E5FF2
#5E5FF2 is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.1% C 0.215 H 276.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FF2 |
|---|---|
| RGB | rgb(94, 95, 242) |
| HSL | hsl(240, 85%, 66%) |
| HSV | hsv(240, 61%, 95%) |
| CMYK | cmyk(61.2%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(48.23, 42.37, -74.11) |
| CIE-LCH | lch(48.23, 85.37, 299.75°) |
| OKLab | oklab(57.09% 0.0257 -0.2133) |
| OKLCH | oklch(57.09% 0.215 276.9) |
| XYZ | xyz(24.7301, 16.9730, 85.9601) |
| Luminance | 0.1698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 4.93
Mediumslateblue
#7B68EE
ΔE00 5.07
Light Indigo
#6D5ACF
ΔE00 5.58
Slate Blue
#6A5ACD
ΔE00 5.64
Royal Blue
#4169E1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FF2 #F2F15E
analogous
#5EA9F2 #5E5FF2 #A75EF2
triadic
#5E5FF2 #F25E5F #5FF25E
tetradic
#5E5FF2 #F25EA9 #F2F15E #5EF2A7
square
#5E5FF2 #F25EA9 #F2F15E #5EF2A7
split-complementary
#5E5FF2 #F2A75E #A9F25E
monochromatic
#1011C6 #2527ED #5E5FF2 #9797F7 #CFD0FB
Accessibility & contrast
On white
4.78
#5E5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#5E5FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FF2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FF2 | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5e5ff2; /* rgb */ color: rgb(94, 95, 242); /* oklch */ color: oklch(57.1% 0.215 276.9);
Tailwind
colors: {
custom: {
50: '#9a8df7',
500: '#5e5ff2',
950: '#000000',
},
}SCSS
$custom: #5e5ff2; $custom-light: #9a8df7; $custom-dark: #000000;
JSON
{
"hex": "#5e5ff2",
"rgb": {
"r": 94,
"g": 95,
"b": 242
},
"hsl": {
"h": 239.595,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.57093,
"c": 0.21486,
"h": 276.9
},
"luminance": 0.16975
}Semantic roles & 50–950 ramp
primary
#5E5FF2
secondary
#EEEEBD
accent
#E004E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85