#5F4DD4#5F4DD4
#5F4DD4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.8% C 0.198 H 283.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DD4 |
|---|---|
| RGB | rgb(95, 77, 212) |
| HSL | hsl(248, 61%, 57%) |
| HSV | hsv(248, 64%, 83%) |
| CMYK | cmyk(55.2%, 63.7%, 0%, 16.9%) |
| CIE-LAB | lab(41.99, 43.69, -67.27) |
| CIE-LCH | lch(41.99, 80.21, 303.01°) |
| OKLab | oklab(51.83% 0.0449 -0.1933) |
| OKLCH | oklch(51.83% 0.198 283.1) |
| XYZ | xyz(19.2532, 12.4930, 63.6714) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.78
Iris
#6258C4
ΔE00 3.88
Slate Blue
#6A5ACD
ΔE00 4.09
Purpleish Blue
#6140EF
ΔE00 4.21
Light Indigo
#6D5ACF
ΔE00 4.25
Warm Blue
#4B57DB
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DD4 #C2D44D
analogous
#4D7FD4 #5F4DD4 #A34DD4
triadic
#5F4DD4 #D45F4D #4DD45F
tetradic
#5F4DD4 #D44D7F #C2D44D #4DD4A3
square
#5F4DD4 #D44D7F #C2D44D #4DD4A3
split-complementary
#5F4DD4 #D4A34D #7FD44D
monochromatic
#2E2086 #3F2CB7 #5F4DD4 #8B7EE0 #B8B0EC
Accessibility & contrast
On white
6.00
#5F4DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#5F4DD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DD4
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DD4 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#276E89
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f4dd4; /* rgb */ color: rgb(95, 77, 212); /* oklch */ color: oklch(51.8% 0.198 283.1);
Tailwind
colors: {
custom: {
50: '#9780e2',
500: '#5f4dd4',
950: '#000000',
},
}SCSS
$custom: #5f4dd4; $custom-light: #9780e2; $custom-dark: #000000;
JSON
{
"hex": "#5f4dd4",
"rgb": {
"r": 95,
"g": 77,
"b": 212
},
"hsl": {
"h": 248,
"s": 61.086,
"l": 56.667
},
"oklch": {
"l": 0.51833,
"c": 0.1984,
"h": 283.1
},
"luminance": 0.12494
}Semantic roles & 50–950 ramp
primary
#5F4DD4
secondary
#D3DAA3
accent
#E444CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84