#5F4FD2#5F4FD2
#5F4FD2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 52.0% C 0.193 H 282.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FD2 |
|---|---|
| RGB | rgb(95, 79, 210) |
| HSL | hsl(247, 59%, 57%) |
| HSV | hsv(247, 62%, 82%) |
| CMYK | cmyk(54.8%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(42.27, 41.92, -65.66) |
| CIE-LCH | lch(42.27, 77.90, 302.56°) |
| OKLab | oklab(51.99% 0.0432 -0.1885) |
| OKLCH | oklch(51.99% 0.193 282.9) |
| XYZ | xyz(19.1446, 12.6769, 62.3983) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 3.81
Warm Blue
#4B57DB
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 4.16
Purpleish Blue
#6140EF
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FD2 #C2D24F
analogous
#4F81D2 #5F4FD2 #A14FD2
triadic
#5F4FD2 #D25F4F #4FD25F
tetradic
#5F4FD2 #D24F81 #C2D24F #4FD2A1
square
#5F4FD2 #D24F81 #C2D24F #4FD2A1
split-complementary
#5F4FD2 #D2A14F #81D24F
monochromatic
#2E2285 #3F2EB5 #5F4FD2 #8B80DE #B8B0EB
Accessibility & contrast
On white
5.94
#5F4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5F4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FD2
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FD2 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#296F89
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f4fd2; /* rgb */ color: rgb(95, 79, 210); /* oklch */ color: oklch(52.0% 0.193 282.9);
Tailwind
colors: {
custom: {
50: '#9681e1',
500: '#5f4fd2',
950: '#000000',
},
}SCSS
$custom: #5f4fd2; $custom-light: #9681e1; $custom-dark: #000000;
JSON
{
"hex": "#5f4fd2",
"rgb": {
"r": 95,
"g": 79,
"b": 210
},
"hsl": {
"h": 247.328,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.51991,
"c": 0.1934,
"h": 282.9
},
"luminance": 0.12678
}Semantic roles & 50–950 ramp
primary
#5F4FD2
secondary
#D3D9A4
accent
#E245CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83