#5F5BF1#5F5BF1
#5F5BF1 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.4% C 0.218 H 278.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BF1 |
|---|---|
| RGB | rgb(95, 91, 241) |
| HSL | hsl(242, 84%, 65%) |
| HSV | hsv(242, 62%, 95%) |
| CMYK | cmyk(60.6%, 62.2%, 0%, 5.5%) |
| CIE-LAB | lab(47.32, 44.56, -75.03) |
| CIE-LCH | lch(47.32, 87.26, 300.70°) |
| OKLab | oklab(56.42% 0.0303 -0.216) |
| OKLCH | oklch(56.42% 0.218 278) |
| XYZ | xyz(24.3325, 16.2641, 85.0591) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.47
Light Indigo
#6D5ACF
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.11
Mediumslateblue
#7B68EE
ΔE00 5.61
Electric Blue
#0652FF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BF1 #EDF15B
analogous
#5BA2F1 #5F5BF1 #AA5BF1
triadic
#5F5BF1 #F15F5B #5BF15F
tetradic
#5F5BF1 #F15BA2 #EDF15B #5BF1AA
square
#5F5BF1 #F15BA2 #EDF15B #5BF1AA
split-complementary
#5F5BF1 #F1AA5B #A2F15B
monochromatic
#1510C1 #2823EC #5F5BF1 #9693F6 #CDCCFB
Accessibility & contrast
On white
4.94
#5F5BF1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#5F5BF1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BF1
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BF1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BF1 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f5bf1; /* rgb */ color: rgb(95, 91, 241); /* oklch */ color: oklch(56.4% 0.218 278.0);
Tailwind
colors: {
custom: {
50: '#9a8af7',
500: '#5f5bf1',
950: '#000000',
},
}SCSS
$custom: #5f5bf1; $custom-light: #9a8af7; $custom-dark: #000000;
JSON
{
"hex": "#5f5bf1",
"rgb": {
"r": 95,
"g": 91,
"b": 241
},
"hsl": {
"h": 241.6,
"s": 84.27,
"l": 65.098
},
"oklch": {
"l": 0.56422,
"c": 0.21811,
"h": 278
},
"luminance": 0.16266
}Semantic roles & 50–950 ramp
primary
#5F5BF1
secondary
#ECEDBA
accent
#E105DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85