#5F4CDC#5F4CDC
#5F4CDC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.210 H 282.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4CDC |
|---|---|
| RGB | rgb(95, 76, 220) |
| HSL | hsl(248, 67%, 58%) |
| HSV | hsv(248, 65%, 86%) |
| CMYK | cmyk(56.8%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(42.41, 46.70, -71.16) |
| CIE-LCH | lch(42.41, 85.11, 303.28°) |
| OKLab | oklab(52.34% 0.0449 -0.2047) |
| OKLCH | oklch(52.34% 0.21 282.4) |
| XYZ | xyz(20.2180, 12.7678, 69.0953) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.32
Bluey Purple
#6241C7
ΔE00 4.24
Bluish Purple
#703BE7
ΔE00 4.48
Warm Blue
#4B57DB
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.55
Light Indigo
#6D5ACF
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4CDC #C9DC4C
analogous
#4C81DC #5F4CDC #A74CDC
triadic
#5F4CDC #DC5F4C #4CDC5F
tetradic
#5F4CDC #DC4C81 #C9DC4C #4CDCA7
square
#5F4CDC #DC4C81 #C9DC4C #4CDCA7
split-complementary
#5F4CDC #DCA74C #81DC4C
monochromatic
#2C1C91 #3B26C4 #5F4CDC #8D7FE6 #BBB2F0
Accessibility & contrast
On white
5.91
#5F4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#5F4CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4CDC
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4CDC | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#1A718D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f4cdc; /* rgb */ color: rgb(95, 76, 220); /* oklch */ color: oklch(52.3% 0.210 282.4);
Tailwind
colors: {
custom: {
50: '#987fe8',
500: '#5f4cdc',
950: '#000000',
},
}SCSS
$custom: #5f4cdc; $custom-light: #987fe8; $custom-dark: #000000;
JSON
{
"hex": "#5f4cdc",
"rgb": {
"r": 95,
"g": 76,
"b": 220
},
"hsl": {
"h": 247.917,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.52336,
"c": 0.20956,
"h": 282.4
},
"luminance": 0.12769
}Semantic roles & 50–950 ramp
primary
#5F4CDC
secondary
#D7DFA5
accent
#EA3ED3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84