#5F4CD6#5F4CD6
#5F4CD6 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.202 H 283.0°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CD6 |
|---|---|
| RGB | rgb(95, 76, 214) |
| HSL | hsl(248, 63%, 57%) |
| HSV | hsv(248, 64%, 84%) |
| CMYK | cmyk(55.6%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(41.93, 44.88, -68.51) |
| CIE-LCH | lch(41.93, 81.90, 303.23°) |
| OKLab | oklab(51.84% 0.0456 -0.1969) |
| OKLCH | oklch(51.84% 0.202 283) |
| XYZ | xyz(19.4376, 12.4556, 64.9852) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.70
Purpleish Blue
#6140EF
ΔE00 3.86
Iris
#6258C4
ΔE00 4.23
Slate Blue
#6A5ACD
ΔE00 4.36
Light Indigo
#6D5ACF
ΔE00 4.50
Warm Blue
#4B57DB
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CD6 #C3D64C
analogous
#4C7ED6 #5F4CD6 #A44CD6
triadic
#5F4CD6 #D65F4C #4CD65F
tetradic
#5F4CD6 #D64C7E #C3D64C #4CD6A4
square
#5F4CD6 #D64C7E #C3D64C #4CD6A4
split-complementary
#5F4CD6 #D6A44C #7ED64C
monochromatic
#2E1F88 #3E2BBA #5F4CD6 #8C7EE1 #B8B0ED
Accessibility & contrast
On white
6.01
#5F4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5F4CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CD6
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CD6 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#246F8A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f4cd6; /* rgb */ color: rgb(95, 76, 214); /* oklch */ color: oklch(51.8% 0.202 283.0);
Tailwind
colors: {
custom: {
50: '#977fe4',
500: '#5f4cd6',
950: '#000000',
},
}SCSS
$custom: #5f4cd6; $custom-light: #977fe4; $custom-dark: #000000;
JSON
{
"hex": "#5f4cd6",
"rgb": {
"r": 95,
"g": 76,
"b": 214
},
"hsl": {
"h": 248.261,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.5184,
"c": 0.20212,
"h": 283
},
"luminance": 0.12457
}Semantic roles & 50–950 ramp
primary
#5F4CD6
secondary
#D3DBA3
accent
#E642CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84