#5E4FC8#5E4FC8
#5E4FC8 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.181 H 283.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5E4FC8 |
|---|---|
| RGB | rgb(94, 79, 200) |
| HSL | hsl(247, 52%, 55%) |
| HSV | hsv(247, 61%, 78%) |
| CMYK | cmyk(53%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.44, 38.67, -61.24) |
| CIE-LCH | lch(41.44, 72.43, 302.27°) |
| OKLab | oklab(51.13% 0.0425 -0.1756) |
| OKLCH | oklch(51.13% 0.181 283.6) |
| XYZ | xyz(17.8342, 12.1408, 56.0360) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.78
Slate Blue
#6A5ACD
ΔE00 3.74
Bluey Purple
#6241C7
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.67
Ocean Blue
#4F42B5
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E4FC8 #B9C84F
analogous
#4F7DC8 #5E4FC8 #9B4FC8
triadic
#5E4FC8 #C85E4F #4FC85E
tetradic
#5E4FC8 #C84F7D #B9C84F #4FC89B
square
#5E4FC8 #C84F7D #B9C84F #4FC89B
split-complementary
#5E4FC8 #C89B4F #7DC84F
monochromatic
#2F2577 #4234A6 #5E4FC8 #897ED7 #B3ACE5
Accessibility & contrast
On white
6.13
#5E4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5E4FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E4FC8
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E4FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E4FC8 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#316C84
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5e4fc8; /* rgb */ color: rgb(94, 79, 200); /* oklch */ color: oklch(51.1% 0.181 283.6);
Tailwind
colors: {
custom: {
50: '#9481da',
500: '#5e4fc8',
950: '#000000',
},
}SCSS
$custom: #5e4fc8; $custom-light: #9481da; $custom-dark: #000000;
JSON
{
"hex": "#5e4fc8",
"rgb": {
"r": 94,
"g": 79,
"b": 200
},
"hsl": {
"h": 247.438,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.51125,
"c": 0.18065,
"h": 283.6
},
"luminance": 0.12142
}Semantic roles & 50–950 ramp
primary
#5E4FC8
secondary
#CDD3A0
accent
#DC4CCA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83