#5F4DCF#5F4DCF
#5F4DCF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.4% C 0.192 H 283.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4DCF |
|---|---|
| RGB | rgb(95, 77, 207) |
| HSL | hsl(248, 58%, 56%) |
| HSV | hsv(248, 63%, 81%) |
| CMYK | cmyk(54.1%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(41.60, 42.17, -65.02) |
| CIE-LCH | lch(41.60, 77.50, 302.97°) |
| OKLab | oklab(51.43% 0.0453 -0.1867) |
| OKLCH | oklch(51.43% 0.192 283.6) |
| XYZ | xyz(18.6322, 12.2446, 60.4010) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.48
Iris
#6258C4
ΔE00 3.58
Slate Blue
#6A5ACD
ΔE00 4.04
Light Indigo
#6D5ACF
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.68
Purpleish Blue
#6140EF
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4DCF #BDCF4D
analogous
#4D7CCF #5F4DCF #A04DCF
triadic
#5F4DCF #CF5F4D #4DCF5F
tetradic
#5F4DCF #CF4D7C #BDCF4D #4DCFA0
square
#5F4DCF #CF4D7C #BDCF4D #4DCFA0
split-complementary
#5F4DCF #CFA04D #7CCF4D
monochromatic
#2F227F #412FAF #5F4DCF #8A7DDC #B6ADE9
Accessibility & contrast
On white
6.09
#5F4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5F4DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4DCF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4DCF | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#2D6D87
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5f4dcf; /* rgb */ color: rgb(95, 77, 207); /* oklch */ color: oklch(51.4% 0.192 283.6);
Tailwind
colors: {
custom: {
50: '#9680df',
500: '#5f4dcf',
950: '#000000',
},
}SCSS
$custom: #5f4dcf; $custom-light: #9680df; $custom-dark: #000000;
JSON
{
"hex": "#5f4dcf",
"rgb": {
"r": 95,
"g": 77,
"b": 207
},
"hsl": {
"h": 248.308,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.5143,
"c": 0.19208,
"h": 283.6
},
"luminance": 0.12246
}Semantic roles & 50–950 ramp
primary
#5F4DCF
secondary
#CFD7A1
accent
#E147CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83