#5F4BDB#5F4BDB
#5F4BDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.209 H 282.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5F4BDB |
|---|---|
| RGB | rgb(95, 75, 219) |
| HSL | hsl(248, 67%, 58%) |
| HSV | hsv(248, 66%, 86%) |
| CMYK | cmyk(56.6%, 65.8%, 0%, 14.1%) |
| CIE-LAB | lab(42.12, 46.96, -71.06) |
| CIE-LCH | lch(42.12, 85.18, 303.46°) |
| OKLab | oklab(52.1% 0.0459 -0.2044) |
| OKLCH | oklch(52.1% 0.21 282.7) |
| XYZ | xyz(20.0176, 12.5783, 68.3771) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 4.73
Iris
#6258C4
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F4BDB #C7DB4B
analogous
#4B7FDB #5F4BDB #A74BDB
triadic
#5F4BDB #DB5F4B #4BDB5F
tetradic
#5F4BDB #DB4B7F #C7DB4B #4BDBA7
square
#5F4BDB #DB4B7F #C7DB4B #4BDBA7
split-complementary
#5F4BDB #DBA74B #7FDB4B
monochromatic
#2C1D8F #3C27C2 #5F4BDB #8C7EE5 #BAB1EF
Accessibility & contrast
On white
5.97
#5F4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5F4BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F4BDB
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F4BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F4BDB | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#1C708D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f4bdb; /* rgb */ color: rgb(95, 75, 219); /* oklch */ color: oklch(52.1% 0.209 282.7);
Tailwind
colors: {
custom: {
50: '#987fe7',
500: '#5f4bdb',
950: '#000000',
},
}SCSS
$custom: #5f4bdb; $custom-light: #987fe7; $custom-dark: #000000;
JSON
{
"hex": "#5f4bdb",
"rgb": {
"r": 95,
"g": 75,
"b": 219
},
"hsl": {
"h": 248.333,
"s": 66.667,
"l": 57.647
},
"oklch": {
"l": 0.52101,
"c": 0.2095,
"h": 282.7
},
"luminance": 0.1258
}Semantic roles & 50–950 ramp
primary
#5F4BDB
secondary
#D6DEA4
accent
#EA3ED2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84