#5C5BE1#5C5BE1
#5C5BE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.9% C 0.198 H 278.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5BE1 |
|---|---|
| RGB | rgb(92, 91, 225) |
| HSL | hsl(240, 69%, 62%) |
| HSV | hsv(240, 60%, 88%) |
| CMYK | cmyk(59.1%, 59.6%, 0%, 11.8%) |
| CIE-LAB | lab(45.90, 38.99, -68.33) |
| CIE-LCH | lch(45.90, 78.67, 299.71°) |
| OKLab | oklab(54.95% 0.0275 -0.1964) |
| OKLCH | oklch(54.95% 0.198 278) |
| XYZ | xyz(21.7410, 15.1921, 73.0063) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 2.78
Slate Blue
#6A5ACD
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 3.80
Iris
#6258C4
ΔE00 4.32
Electric Blue
#0652FF
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5BE1 #E0E15B
analogous
#5B9DE1 #5C5BE1 #9F5BE1
triadic
#5C5BE1 #E15C5B #5BE15C
tetradic
#5C5BE1 #E15B9D #E0E15B #5BE19F
square
#5C5BE1 #E15B9D #E0E15B #5BE19F
split-complementary
#5C5BE1 #E19F5B #9DE15B
monochromatic
#1F1EA4 #2927D7 #5C5BE1 #8F8FEA #C3C2F4
Accessibility & contrast
On white
5.20
#5C5BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#5C5BE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5BE1
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5BE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5BE1 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0067DE
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5c5be1; /* rgb */ color: rgb(92, 91, 225); /* oklch */ color: oklch(54.9% 0.198 278.0);
Tailwind
colors: {
custom: {
50: '#9689eb',
500: '#5c5be1',
950: '#000000',
},
}SCSS
$custom: #5c5be1; $custom-light: #9689eb; $custom-dark: #000000;
JSON
{
"hex": "#5c5be1",
"rgb": {
"r": 92,
"g": 91,
"b": 225
},
"hsl": {
"h": 240.448,
"s": 69.072,
"l": 61.961
},
"oklch": {
"l": 0.54945,
"c": 0.19834,
"h": 278
},
"luminance": 0.15194
}Semantic roles & 50–950 ramp
primary
#5C5BE1
secondary
#E4E5B3
accent
#D114D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84