#5F5DEB#5F5DEB
#5F5DEB is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.3% C 0.208 H 278.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DEB |
|---|---|
| RGB | rgb(95, 93, 235) |
| HSL | hsl(241, 78%, 64%) |
| HSV | hsv(241, 60%, 92%) |
| CMYK | cmyk(59.6%, 60.4%, 0%, 7.8%) |
| CIE-LAB | lab(47.31, 41.48, -71.67) |
| CIE-LCH | lch(47.31, 82.81, 300.06°) |
| OKLab | oklab(56.27% 0.0289 -0.2061) |
| OKLCH | oklch(56.27% 0.208 278) |
| XYZ | xyz(23.6243, 16.2580, 80.4743) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.60
Warm Blue
#4B57DB
ΔE00 4.10
Light Indigo
#6D5ACF
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.61
Mediumslateblue
#7B68EE
ΔE00 5.46
Iris
#6258C4
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DEB #E9EB5D
analogous
#5DA2EB #5F5DEB #A65DEB
triadic
#5F5DEB #EB5F5D #5DEB5F
tetradic
#5F5DEB #EB5DA2 #E9EB5D #5DEBA6
square
#5F5DEB #EB5DA2 #E9EB5D #5DEBA6
split-complementary
#5F5DEB #EBA65D #A2EB5D
monochromatic
#1917B7 #2927E4 #5F5DEB #9593F2 #CBCAF8
Accessibility & contrast
On white
4.94
#5F5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#5F5DEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DEB
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DEB | 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)
#0076F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5f5deb; /* rgb */ color: rgb(95, 93, 235); /* oklch */ color: oklch(56.3% 0.208 278.0);
Tailwind
colors: {
custom: {
50: '#998bf2',
500: '#5f5deb',
950: '#000000',
},
}SCSS
$custom: #5f5deb; $custom-light: #998bf2; $custom-dark: #000000;
JSON
{
"hex": "#5f5deb",
"rgb": {
"r": 95,
"g": 93,
"b": 235
},
"hsl": {
"h": 240.845,
"s": 78.022,
"l": 64.314
},
"oklch": {
"l": 0.56273,
"c": 0.20814,
"h": 278
},
"luminance": 0.1626
}Semantic roles & 50–950 ramp
primary
#5F5DEB
secondary
#EAEBB9
accent
#DA0BD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85