#5E4FCA#5E4FCA
#5E4FCA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.183 H 283.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4FCA |
|---|---|
| RGB | rgb(94, 79, 202) |
| HSL | hsl(247, 54%, 55%) |
| HSV | hsv(247, 61%, 79%) |
| CMYK | cmyk(53.5%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.59, 39.28, -62.16) |
| CIE-LCH | lch(41.59, 73.53, 302.29°) |
| OKLab | oklab(51.28% 0.0424 -0.1783) |
| OKLCH | oklch(51.28% 0.183 283.4) |
| XYZ | xyz(18.0695, 12.2349, 57.2751) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 3.68
Bluey Purple
#6241C7
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.51
Dark Periwinkle
#665FD1
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4FCA #BBCA4F
analogous
#4F7DCA #5E4FCA #9B4FCA
triadic
#5E4FCA #CA5E4F #4FCA5E
tetradic
#5E4FCA #CA4F7D #BBCA4F #4FCA9B
square
#5E4FCA #CA4F7D #BBCA4F #4FCA9B
split-complementary
#5E4FCA #CA9B4F #7DCA4F
monochromatic
#2F257A #4133A9 #5E4FCA #897ED8 #B4ADE6
Accessibility & contrast
On white
6.09
#5E4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5E4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4FCA
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4FCA | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#2F6C85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5e4fca; /* rgb */ color: rgb(94, 79, 202); /* oklch */ color: oklch(51.3% 0.183 283.4);
Tailwind
colors: {
custom: {
50: '#9581db',
500: '#5e4fca',
950: '#000000',
},
}SCSS
$custom: #5e4fca; $custom-light: #9581db; $custom-dark: #000000;
JSON
{
"hex": "#5e4fca",
"rgb": {
"r": 94,
"g": 79,
"b": 202
},
"hsl": {
"h": 247.317,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.5128,
"c": 0.18325,
"h": 283.4
},
"luminance": 0.12236
}Semantic roles & 50–950 ramp
primary
#5E4FCA
secondary
#CED4A1
accent
#DD4BCB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83