#5F5BE7#5F5BE7
#5F5BE7 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.205 H 278.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5BE7 |
|---|---|
| RGB | rgb(95, 91, 231) |
| HSL | hsl(242, 74%, 63%) |
| HSV | hsv(242, 61%, 91%) |
| CMYK | cmyk(58.9%, 60.6%, 0%, 9.4%) |
| CIE-LAB | lab(46.56, 41.40, -70.64) |
| CIE-LCH | lch(46.56, 81.88, 300.37°) |
| OKLab | oklab(55.62% 0.0308 -0.2031) |
| OKLCH | oklch(55.62% 0.205 278.6) |
| XYZ | xyz(22.8796, 15.6829, 77.4073) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 4.01
Light Indigo
#6D5ACF
ΔE00 4.03
Iris
#6258C4
ΔE00 5.02
Mediumslateblue
#7B68EE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5BE7 #E3E75B
analogous
#5B9DE7 #5F5BE7 #A55BE7
triadic
#5F5BE7 #E75F5B #5BE75F
tetradic
#5F5BE7 #E75B9D #E3E75B #5BE7A5
square
#5F5BE7 #E75B9D #E3E75B #5BE7A5
split-complementary
#5F5BE7 #E7A55B #9DE75B
monochromatic
#1E19AE #2B26DF #5F5BE7 #9390EF #C7C6F7
Accessibility & contrast
On white
5.08
#5F5BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5F5BE7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5BE7
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5BE7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5BE7 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5be7; /* rgb */ color: rgb(95, 91, 231); /* oklch */ color: oklch(55.6% 0.205 278.6);
Tailwind
colors: {
custom: {
50: '#998af0',
500: '#5f5be7',
950: '#000000',
},
}SCSS
$custom: #5f5be7; $custom-light: #998af0; $custom-dark: #000000;
JSON
{
"hex": "#5f5be7",
"rgb": {
"r": 95,
"g": 91,
"b": 231
},
"hsl": {
"h": 241.714,
"s": 74.468,
"l": 63.137
},
"oklch": {
"l": 0.55624,
"c": 0.20546,
"h": 278.6
},
"luminance": 0.15685
}Semantic roles & 50–950 ramp
primary
#5F5BE7
secondary
#E7E8B6
accent
#D70FD1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85