#5F5DF4#5F5DF4
#5F5DF4 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.220 H 277.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DF4 |
|---|---|
| RGB | rgb(95, 93, 244) |
| HSL | hsl(241, 87%, 66%) |
| HSV | hsv(241, 62%, 96%) |
| CMYK | cmyk(61.1%, 61.9%, 0%, 4.3%) |
| CIE-LAB | lab(48.00, 44.33, -75.60) |
| CIE-LCH | lch(48.00, 87.64, 300.39°) |
| OKLab | oklab(56.99% 0.0284 -0.2177) |
| OKLCH | oklch(56.99% 0.22 277.4) |
| XYZ | xyz(24.9575, 16.7913, 87.4963) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.66
Warm Blue
#4B57DB
ΔE00 4.96
Mediumslateblue
#7B68EE
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.52
Slate Blue
#6A5ACD
ΔE00 5.61
Electric Blue
#0652FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DF4 #F2F45D
analogous
#5DA6F4 #5F5DF4 #AA5DF4
triadic
#5F5DF4 #F45F5D #5DF45F
tetradic
#5F5DF4 #F45DA6 #F2F45D #5DF4AA
square
#5F5DF4 #F45DA6 #F2F45D #5DF4AA
split-complementary
#5F5DF4 #F4AA5D #A6F45D
monochromatic
#100EC9 #2624F0 #5F5DF4 #9896F8 #D0D0FC
Accessibility & contrast
On white
4.82
#5F5DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#5F5DF4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DF4
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DF4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DF4 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f5df4; /* rgb */ color: rgb(95, 93, 244); /* oklch */ color: oklch(57.0% 0.220 277.4);
Tailwind
colors: {
custom: {
50: '#9b8bf9',
500: '#5f5df4',
950: '#000000',
},
}SCSS
$custom: #5f5df4; $custom-light: #9b8bf9; $custom-dark: #000000;
JSON
{
"hex": "#5f5df4",
"rgb": {
"r": 95,
"g": 93,
"b": 244
},
"hsl": {
"h": 240.795,
"s": 87.283,
"l": 66.078
},
"oklch": {
"l": 0.56989,
"c": 0.21953,
"h": 277.4
},
"luminance": 0.16793
}Semantic roles & 50–950 ramp
primary
#5F5DF4
secondary
#EFEFBE
accent
#E402E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85