#5F5BD2#5F5BD2
#5F5BD2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.178 H 280.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BD2 |
|---|---|
| RGB | rgb(95, 91, 210) |
| HSL | hsl(242, 57%, 59%) |
| HSV | hsv(242, 57%, 82%) |
| CMYK | cmyk(54.8%, 56.7%, 0%, 17.6%) |
| CIE-LAB | lab(45.04, 34.76, -61.17) |
| CIE-LCH | lch(45.04, 70.36, 299.60°) |
| OKLab | oklab(54.02% 0.0313 -0.1753) |
| OKLCH | oklch(54.02% 0.178 280.1) |
| XYZ | xyz(20.0896, 14.5669, 62.7134) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.62
Slate Blue
#6A5ACD
ΔE00 2.19
Iris
#6258C4
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 3.08
Azul
#1D5DEC
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BD2 #CED25B
analogous
#5B93D2 #5F5BD2 #9B5BD2
triadic
#5F5BD2 #D25F5B #5BD25F
tetradic
#5F5BD2 #D25B93 #CED25B #5BD29B
square
#5F5BD2 #D25B93 #CED25B #5BD29B
split-complementary
#5F5BD2 #D29B5B #93D25B
monochromatic
#2A268C #3834BC #5F5BD2 #8E8BDF #BDBBEC
Accessibility & contrast
On white
5.37
#5F5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5F5BD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BD2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BD2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#27778E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f5bd2; /* rgb */ color: rgb(95, 91, 210); /* oklch */ color: oklch(54.0% 0.178 280.1);
Tailwind
colors: {
custom: {
50: '#9689e1',
500: '#5f5bd2',
950: '#000000',
},
}SCSS
$custom: #5f5bd2; $custom-light: #9689e1; $custom-dark: #000000;
JSON
{
"hex": "#5f5bd2",
"rgb": {
"r": 95,
"g": 91,
"b": 210
},
"hsl": {
"h": 242.017,
"s": 56.938,
"l": 59.02
},
"oklch": {
"l": 0.54023,
"c": 0.17804,
"h": 280.1
},
"luminance": 0.14568
}Semantic roles & 50–950 ramp
primary
#5F5BD2
secondary
#DADCAD
accent
#E048DB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83