#5F4FEA#5F4FEA
#5F4FEA is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.0% C 0.223 H 280.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FEA |
|---|---|
| RGB | rgb(95, 79, 234) |
| HSL | hsl(246, 79%, 61%) |
| HSV | hsv(246, 66%, 92%) |
| CMYK | cmyk(59.4%, 66.2%, 0%, 8.2%) |
| CIE-LAB | lab(44.18, 49.27, -76.21) |
| CIE-LCH | lch(44.18, 90.75, 302.88°) |
| OKLab | oklab(53.97% 0.0407 -0.2195) |
| OKLCH | oklch(53.97% 0.223 280.5) |
| XYZ | xyz(22.3619, 13.9638, 79.3428) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.44
Warm Blue
#4B57DB
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 4.89
Bluish Purple
#703BE7
ΔE00 5.04
Dark Periwinkle
#665FD1
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FEA #DAEA4F
analogous
#4F8DEA #5F4FEA #AD4FEA
triadic
#5F4FEA #EA5F4F #4FEA5F
tetradic
#5F4FEA #EA4F8D #DAEA4F #4FEAAD
square
#5F4FEA #EA4F8D #DAEA4F #4FEAAD
split-complementary
#5F4FEA #EAAD4F #8DEA4F
monochromatic
#2414AA #2F1BE1 #5F4FEA #9186F1 #C2BCF7
Accessibility & contrast
On white
5.54
#5F4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#5F4FEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FEA
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FEA | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f4fea; /* rgb */ color: rgb(95, 79, 234); /* oklch */ color: oklch(54.0% 0.223 280.5);
Tailwind
colors: {
custom: {
50: '#9a82f2',
500: '#5f4fea',
950: '#000000',
},
}SCSS
$custom: #5f4fea; $custom-light: #9a82f2; $custom-dark: #000000;
JSON
{
"hex": "#5f4fea",
"rgb": {
"r": 95,
"g": 79,
"b": 234
},
"hsl": {
"h": 246.194,
"s": 78.68,
"l": 61.373
},
"oklch": {
"l": 0.53968,
"c": 0.22326,
"h": 280.5
},
"luminance": 0.13965
}Semantic roles & 50–950 ramp
primary
#5F4FEA
secondary
#E1E7AD
accent
#DB0BC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85