#5F4FD4#5F4FD4
#5F4FD4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.1% C 0.196 H 282.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FD4 |
|---|---|
| RGB | rgb(95, 79, 212) |
| HSL | hsl(247, 61%, 57%) |
| HSV | hsv(247, 63%, 83%) |
| CMYK | cmyk(55.2%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(42.43, 42.53, -66.55) |
| CIE-LCH | lch(42.43, 78.98, 302.58°) |
| OKLab | oklab(52.15% 0.043 -0.1912) |
| OKLCH | oklch(52.15% 0.196 282.7) |
| XYZ | xyz(19.3953, 12.7771, 63.7188) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.46
Slate Blue
#6A5ACD
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 3.83
Warm Blue
#4B57DB
ΔE00 4.07
Bluey Purple
#6241C7
ΔE00 4.28
Purpleish Blue
#6140EF
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FD4 #C4D44F
analogous
#4F82D4 #5F4FD4 #A24FD4
triadic
#5F4FD4 #D45F4F #4FD45F
tetradic
#5F4FD4 #D44F82 #C4D44F #4FD4A2
square
#5F4FD4 #D44F82 #C4D44F #4FD4A2
split-complementary
#5F4FD4 #D4A24F #82D44F
monochromatic
#2D2187 #3E2DB9 #5F4FD4 #8C80E0 #B8B1EC
Accessibility & contrast
On white
5.91
#5F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#5F4FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FD4
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FD4 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#27708A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5f4fd4; /* rgb */ color: rgb(95, 79, 212); /* oklch */ color: oklch(52.1% 0.196 282.7);
Tailwind
colors: {
custom: {
50: '#9781e2',
500: '#5f4fd4',
950: '#000000',
},
}SCSS
$custom: #5f4fd4; $custom-light: #9781e2; $custom-dark: #000000;
JSON
{
"hex": "#5f4fd4",
"rgb": {
"r": 95,
"g": 79,
"b": 212
},
"hsl": {
"h": 247.218,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.5215,
"c": 0.19595,
"h": 282.7
},
"luminance": 0.12778
}Semantic roles & 50–950 ramp
primary
#5F4FD4
secondary
#D4DAA4
accent
#E444D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84