#5F4FCC#5F4FCC
#5F4FCC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.186 H 283.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FCC |
|---|---|
| RGB | rgb(95, 79, 204) |
| HSL | hsl(248, 55%, 55%) |
| HSV | hsv(248, 61%, 80%) |
| CMYK | cmyk(53.4%, 61.3%, 0%, 20%) |
| CIE-LAB | lab(41.82, 40.08, -62.94) |
| CIE-LCH | lch(41.82, 74.61, 302.49°) |
| OKLab | oklab(51.52% 0.0436 -0.1805) |
| OKLCH | oklch(51.52% 0.186 283.6) |
| XYZ | xyz(18.4111, 12.3834, 58.5351) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.92
Slate Blue
#6A5ACD
ΔE00 3.58
Light Indigo
#6D5ACF
ΔE00 3.86
Bluey Purple
#6241C7
ΔE00 3.90
Warm Blue
#4B57DB
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FCC #BCCC4F
analogous
#4F7DCC #5F4FCC #9D4FCC
triadic
#5F4FCC #CC5F4F #4FCC5F
tetradic
#5F4FCC #CC4F7D #BCCC4F #4FCC9D
square
#5F4FCC #CC4F7D #BCCC4F #4FCC9D
split-complementary
#5F4FCC #CC9D4F #7DCC4F
monochromatic
#2F247D #4132AC #5F4FCC #8A7EDA #B5AEE7
Accessibility & contrast
On white
6.04
#5F4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#5F4FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FCC
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FCC | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#306D86
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f4fcc; /* rgb */ color: rgb(95, 79, 204); /* oklch */ color: oklch(51.5% 0.186 283.6);
Tailwind
colors: {
custom: {
50: '#9681dc',
500: '#5f4fcc',
950: '#000000',
},
}SCSS
$custom: #5f4fcc; $custom-light: #9681dc; $custom-dark: #000000;
JSON
{
"hex": "#5f4fcc",
"rgb": {
"r": 95,
"g": 79,
"b": 204
},
"hsl": {
"h": 247.68,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.51517,
"c": 0.1857,
"h": 283.6
},
"luminance": 0.12384
}Semantic roles & 50–950 ramp
primary
#5F4FCC
secondary
#CFD5A1
accent
#DE49CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83