#5F4CF0#5F4CF0
#5F4CF0 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.0% C 0.234 H 280.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CF0 |
|---|---|
| RGB | rgb(95, 76, 240) |
| HSL | hsl(247, 85%, 62%) |
| HSV | hsv(247, 68%, 94%) |
| CMYK | cmyk(60.4%, 68.3%, 0%, 5.9%) |
| CIE-LAB | lab(44.08, 52.75, -79.77) |
| CIE-LCH | lch(44.08, 95.63, 303.48°) |
| OKLab | oklab(54.05% 0.0422 -0.2299) |
| OKLCH | oklch(54.05% 0.234 280.4) |
| XYZ | xyz(23.0270, 13.8914, 83.8890) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 2.78
Bluish Purple
#703BE7
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 5.10
Purpley Blue
#5F34E7
ΔE00 5.54
Light Indigo
#6D5ACF
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CF0 #DDF04C
analogous
#4C8BF0 #5F4CF0 #B14CF0
triadic
#5F4CF0 #F05F4C #4CF05F
tetradic
#5F4CF0 #F04C8B #DDF04C #4CF0B1
square
#5F4CF0 #F04C8B #DDF04C #4CF0B1
split-complementary
#5F4CF0 #F0B14C #8BF04C
monochromatic
#220FB3 #2D14EB #5F4CF0 #9184F5 #C4BDF9
Accessibility & contrast
On white
5.56
#5F4CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#5F4CF0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CF0
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CF0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CF0 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EF5
Deuteranopia (green-blind)
#0062ED
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #5f4cf0; /* rgb */ color: rgb(95, 76, 240); /* oklch */ color: oklch(54.0% 0.234 280.4);
Tailwind
colors: {
custom: {
50: '#9b80f6',
500: '#5f4cf0',
950: '#000000',
},
}SCSS
$custom: #5f4cf0; $custom-light: #9b80f6; $custom-dark: #000000;
JSON
{
"hex": "#5f4cf0",
"rgb": {
"r": 95,
"g": 76,
"b": 240
},
"hsl": {
"h": 246.951,
"s": 84.536,
"l": 61.961
},
"oklch": {
"l": 0.54048,
"c": 0.23377,
"h": 280.4
},
"luminance": 0.13893
}Semantic roles & 50–950 ramp
primary
#5F4CF0
secondary
#E3EAAE
accent
#E104C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85