#5E4FD7#5E4FD7
#5E4FD7 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.3% C 0.200 H 282.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4FD7 |
|---|---|
| RGB | rgb(94, 79, 215) |
| HSL | hsl(247, 63%, 58%) |
| HSV | hsv(247, 63%, 84%) |
| CMYK | cmyk(56.3%, 63.3%, 0%, 15.7%) |
| CIE-LAB | lab(42.58, 43.28, -68.03) |
| CIE-LCH | lch(42.58, 80.63, 302.47°) |
| OKLab | oklab(52.31% 0.0415 -0.1955) |
| OKLCH | oklch(52.31% 0.2 282) |
| XYZ | xyz(19.6740, 12.8767, 65.7255) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 3.97
Purpleish Blue
#6140EF
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4FD7 #C8D74F
analogous
#4F84D7 #5E4FD7 #A24FD7
triadic
#5E4FD7 #D75E4F #4FD75E
tetradic
#5E4FD7 #D74F84 #C8D74F #4FD7A2
square
#5E4FD7 #D74F84 #C8D74F #4FD7A2
split-complementary
#5E4FD7 #D7A24F #84D74F
monochromatic
#2C208C #3B2BBE #5E4FD7 #8C81E2 #B9B3EE
Accessibility & contrast
On white
5.87
#5E4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#5E4FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4FD7
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4FD7 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#1E718C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5e4fd7; /* rgb */ color: rgb(94, 79, 215); /* oklch */ color: oklch(52.3% 0.200 282.0);
Tailwind
colors: {
custom: {
50: '#9781e4',
500: '#5e4fd7',
950: '#000000',
},
}SCSS
$custom: #5e4fd7; $custom-light: #9781e4; $custom-dark: #000000;
JSON
{
"hex": "#5e4fd7",
"rgb": {
"r": 94,
"g": 79,
"b": 215
},
"hsl": {
"h": 246.618,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.52313,
"c": 0.19989,
"h": 282
},
"luminance": 0.12878
}Semantic roles & 50–950 ramp
primary
#5E4FD7
secondary
#D6DCA6
accent
#E642D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84