#5F4FE3#5F4FE3
#5F4FE3 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.215 H 281.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4FE3 |
|---|---|
| RGB | rgb(95, 79, 227) |
| HSL | hsl(246, 73%, 60%) |
| HSV | hsv(246, 65%, 89%) |
| CMYK | cmyk(58.1%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(43.61, 47.13, -73.19) |
| CIE-LCH | lch(43.61, 87.05, 302.78°) |
| OKLab | oklab(53.38% 0.0415 -0.2106) |
| OKLCH | oklch(53.38% 0.215 281.2) |
| XYZ | xyz(21.3761, 13.5695, 74.1509) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 4.39
Iris
#6258C4
ΔE00 4.85
Bluish Purple
#703BE7
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4FE3 #D3E34F
analogous
#4F89E3 #5F4FE3 #A94FE3
triadic
#5F4FE3 #E35F4F #4FE35F
tetradic
#5F4FE3 #E34F89 #D3E34F #4FE3A9
square
#5F4FE3 #E34F89 #D3E34F #4FE3A9
split-complementary
#5F4FE3 #E3A94F #89E34F
monochromatic
#28199E #3522D3 #5F4FE3 #8F84EB #BFB9F4
Accessibility & contrast
On white
5.65
#5F4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#5F4FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4FE3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4FE3 | 1.00 | 5.65 | 3.71 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#017592
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f4fe3; /* rgb */ color: rgb(95, 79, 227); /* oklch */ color: oklch(53.4% 0.215 281.2);
Tailwind
colors: {
custom: {
50: '#9981ed',
500: '#5f4fe3',
950: '#000000',
},
}SCSS
$custom: #5f4fe3; $custom-light: #9981ed; $custom-dark: #000000;
JSON
{
"hex": "#5f4fe3",
"rgb": {
"r": 95,
"g": 79,
"b": 227
},
"hsl": {
"h": 246.486,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.53378,
"c": 0.2147,
"h": 281.2
},
"luminance": 0.13571
}Semantic roles & 50–950 ramp
primary
#5F4FE3
secondary
#DDE3AA
accent
#EF39DC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84