#5F4CD3#5F4CD3
#5F4CD3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.6% C 0.198 H 283.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CD3 |
|---|---|
| RGB | rgb(95, 76, 211) |
| HSL | hsl(248, 61%, 56%) |
| HSV | hsv(248, 64%, 83%) |
| CMYK | cmyk(55%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(41.69, 43.97, -67.17) |
| CIE-LCH | lch(41.69, 80.28, 303.21°) |
| OKLab | oklab(51.59% 0.0459 -0.193) |
| OKLCH | oklch(51.59% 0.198 283.4) |
| XYZ | xyz(19.0580, 12.3038, 62.9860) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.47
Iris
#6258C4
ΔE00 4.04
Purpleish Blue
#6140EF
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.47
Warm Blue
#4B57DB
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CD3 #C0D34C
analogous
#4C7DD3 #5F4CD3 #A34CD3
triadic
#5F4CD3 #D35F4C #4CD35F
tetradic
#5F4CD3 #D34C7D #C0D34C #4CD3A3
square
#5F4CD3 #D34C7D #C0D34C #4CD3A3
split-complementary
#5F4CD3 #D3A34C #7DD34C
monochromatic
#2F2084 #402DB5 #5F4CD3 #8B7DDF #B7AEEB
Accessibility & contrast
On white
6.07
#5F4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#5F4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CD3
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CD3 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#286E89
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f4cd3; /* rgb */ color: rgb(95, 76, 211); /* oklch */ color: oklch(51.6% 0.198 283.4);
Tailwind
colors: {
custom: {
50: '#977fe1',
500: '#5f4cd3',
950: '#000000',
},
}SCSS
$custom: #5f4cd3; $custom-light: #977fe1; $custom-dark: #000000;
JSON
{
"hex": "#5f4cd3",
"rgb": {
"r": 95,
"g": 76,
"b": 211
},
"hsl": {
"h": 248.444,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.51594,
"c": 0.19836,
"h": 283.4
},
"luminance": 0.12305
}Semantic roles & 50–950 ramp
primary
#5F4CD3
secondary
#D1D9A2
accent
#E444CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83