#5F5CE5#5F5CE5
#5F5CE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.6% C 0.202 H 278.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5CE5 |
|---|---|
| RGB | rgb(95, 92, 229) |
| HSL | hsl(241, 72%, 63%) |
| HSV | hsv(241, 60%, 90%) |
| CMYK | cmyk(58.5%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(46.64, 40.17, -69.39) |
| CIE-LCH | lch(46.64, 80.17, 300.07°) |
| OKLab | oklab(55.64% 0.03 -0.1994) |
| OKLCH | oklch(55.64% 0.202 278.6) |
| XYZ | xyz(22.6848, 15.7427, 75.9568) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.95
Warm Blue
#4B57DB
ΔE00 3.51
Slate Blue
#6A5ACD
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 3.92
Iris
#6258C4
ΔE00 4.86
Mediumslateblue
#7B68EE
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5CE5 #E2E55C
analogous
#5C9DE5 #5F5CE5 #A35CE5
triadic
#5F5CE5 #E55F5C #5CE55F
tetradic
#5F5CE5 #E55C9D #E2E55C #5CE5A3
square
#5F5CE5 #E55C9D #E2E55C #5CE5A3
split-complementary
#5F5CE5 #E5A35C #9DE55C
monochromatic
#1E1BAB #2B27DD #5F5CE5 #9391ED #C7C6F6
Accessibility & contrast
On white
5.06
#5F5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5F5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5CE5
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5CE5 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5f5ce5; /* rgb */ color: rgb(95, 92, 229); /* oklch */ color: oklch(55.6% 0.202 278.6);
Tailwind
colors: {
custom: {
50: '#988aee',
500: '#5f5ce5',
950: '#000000',
},
}SCSS
$custom: #5f5ce5; $custom-light: #988aee; $custom-dark: #000000;
JSON
{
"hex": "#5f5ce5",
"rgb": {
"r": 95,
"g": 92,
"b": 229
},
"hsl": {
"h": 241.314,
"s": 72.487,
"l": 62.941
},
"oklch": {
"l": 0.55636,
"c": 0.20168,
"h": 278.6
},
"luminance": 0.15744
}Semantic roles & 50–950 ramp
primary
#5F5CE5
secondary
#E6E7B6
accent
#D511D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84