#5F5BE5#5F5BE5
#5F5BE5 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.5% C 0.203 H 278.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BE5 |
|---|---|
| RGB | rgb(95, 91, 229) |
| HSL | hsl(242, 73%, 63%) |
| HSV | hsv(242, 60%, 90%) |
| CMYK | cmyk(58.5%, 60.3%, 0%, 10.2%) |
| CIE-LAB | lab(46.41, 40.76, -69.76) |
| CIE-LCH | lch(46.41, 80.80, 300.30°) |
| OKLab | oklab(55.47% 0.0309 -0.2005) |
| OKLCH | oklch(55.47% 0.203 278.8) |
| XYZ | xyz(22.5988, 15.5706, 75.9281) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.02
Warm Blue
#4B57DB
ΔE00 3.41
Slate Blue
#6A5ACD
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 3.84
Iris
#6258C4
ΔE00 4.76
Mediumslateblue
#7B68EE
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BE5 #E1E55B
analogous
#5B9CE5 #5F5BE5 #A45BE5
triadic
#5F5BE5 #E55F5B #5BE55F
tetradic
#5F5BE5 #E55B9C #E1E55B #5BE5A4
square
#5F5BE5 #E55B9C #E1E55B #5BE5A4
split-complementary
#5F5BE5 #E5A45B #9CE55B
monochromatic
#1F1BAB #2B26DD #5F5BE5 #9390ED #C6C5F6
Accessibility & contrast
On white
5.10
#5F5BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#5F5BE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BE5
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BE5 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5be5; /* rgb */ color: rgb(95, 91, 229); /* oklch */ color: oklch(55.5% 0.203 278.8);
Tailwind
colors: {
custom: {
50: '#998aee',
500: '#5f5be5',
950: '#000000',
},
}SCSS
$custom: #5f5be5; $custom-light: #998aee; $custom-dark: #000000;
JSON
{
"hex": "#5f5be5",
"rgb": {
"r": 95,
"g": 91,
"b": 229
},
"hsl": {
"h": 241.739,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.55467,
"c": 0.2029,
"h": 278.8
},
"luminance": 0.15572
}Semantic roles & 50–950 ramp
primary
#5F5BE5
secondary
#E5E7B5
accent
#D511CF
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84