#5E5CF2#5E5CF2
#5E5CF2 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.6% C 0.218 H 277.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5CF2 |
|---|---|
| RGB | rgb(94, 92, 242) |
| HSL | hsl(241, 85%, 65%) |
| HSV | hsv(241, 62%, 95%) |
| CMYK | cmyk(61.2%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(47.55, 44.13, -75.21) |
| CIE-LCH | lch(47.55, 87.21, 300.40°) |
| OKLab | oklab(56.6% 0.0282 -0.2166) |
| OKLCH | oklch(56.6% 0.218 277.4) |
| XYZ | xyz(24.4651, 16.4429, 85.8717) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 4.56
Light Indigo
#6D5ACF
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.33
Mediumslateblue
#7B68EE
ΔE00 5.51
Electric Blue
#0652FF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5CF2 #F0F25C
analogous
#5CA5F2 #5E5CF2 #A95CF2
triadic
#5E5CF2 #F25E5C #5CF25E
tetradic
#5E5CF2 #F25CA5 #F0F25C #5CF2A9
square
#5E5CF2 #F25CA5 #F0F25C #5CF2A9
split-complementary
#5E5CF2 #F2A95C #A5F25C
monochromatic
#1210C4 #2623ED #5E5CF2 #9695F7 #CECDFB
Accessibility & contrast
On white
4.90
#5E5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5E5CF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5CF2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5CF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5CF2 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#00829F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5e5cf2; /* rgb */ color: rgb(94, 92, 242); /* oklch */ color: oklch(56.6% 0.218 277.4);
Tailwind
colors: {
custom: {
50: '#9a8af7',
500: '#5e5cf2',
950: '#000000',
},
}SCSS
$custom: #5e5cf2; $custom-light: #9a8af7; $custom-dark: #000000;
JSON
{
"hex": "#5e5cf2",
"rgb": {
"r": 94,
"g": 92,
"b": 242
},
"hsl": {
"h": 240.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.56598,
"c": 0.2184,
"h": 277.4
},
"luminance": 0.16445
}Semantic roles & 50–950 ramp
primary
#5E5CF2
secondary
#EDEEBC
accent
#E204DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85