#5F5CF1#5F5CF1
#5F5CF1 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.6% C 0.217 H 277.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CF1 |
|---|---|
| RGB | rgb(95, 92, 241) |
| HSL | hsl(241, 84%, 65%) |
| HSV | hsv(241, 62%, 95%) |
| CMYK | cmyk(60.6%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(47.54, 43.97, -74.66) |
| CIE-LCH | lch(47.54, 86.65, 300.49°) |
| OKLab | oklab(56.58% 0.0294 -0.2149) |
| OKLCH | oklch(56.58% 0.217 277.8) |
| XYZ | xyz(24.4185, 16.4362, 85.0878) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.32
Warm Blue
#4B57DB
ΔE00 4.55
Light Indigo
#6D5ACF
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.18
Mediumslateblue
#7B68EE
ΔE00 5.43
Electric Blue
#0652FF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CF1 #EEF15C
analogous
#5CA3F1 #5F5CF1 #A95CF1
triadic
#5F5CF1 #F15F5C #5CF15F
tetradic
#5F5CF1 #F15CA3 #EEF15C #5CF1A9
square
#5F5CF1 #F15CA3 #EEF15C #5CF1A9
split-complementary
#5F5CF1 #F1A95C #A3F15C
monochromatic
#1411C2 #2824EC #5F5CF1 #9694F6 #CECDFB
Accessibility & contrast
On white
4.90
#5F5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5F5CF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CF1
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CF1 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5f5cf1; /* rgb */ color: rgb(95, 92, 241); /* oklch */ color: oklch(56.6% 0.217 277.8);
Tailwind
colors: {
custom: {
50: '#9a8af7',
500: '#5f5cf1',
950: '#000000',
},
}SCSS
$custom: #5f5cf1; $custom-light: #9a8af7; $custom-dark: #000000;
JSON
{
"hex": "#5f5cf1",
"rgb": {
"r": 95,
"g": 92,
"b": 241
},
"hsl": {
"h": 241.208,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.56585,
"c": 0.21693,
"h": 277.8
},
"luminance": 0.16438
}Semantic roles & 50–950 ramp
primary
#5F5CF1
secondary
#ECEEBB
accent
#E105DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85