#5C5EE3#5C5EE3
#5C5EE3 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.197 H 277.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5EE3 |
|---|---|
| RGB | rgb(92, 94, 227) |
| HSL | hsl(239, 71%, 63%) |
| HSV | hsv(239, 59%, 89%) |
| CMYK | cmyk(59.5%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(46.74, 37.83, -68.09) |
| CIE-LCH | lch(46.74, 77.89, 299.06°) |
| OKLab | oklab(55.62% 0.0248 -0.1957) |
| OKLCH | oklch(55.62% 0.197 277.2) |
| XYZ | xyz(22.2770, 15.8251, 74.5388) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.85
Warm Blue
#4B57DB
ΔE00 3.31
Slate Blue
#6A5ACD
ΔE00 4.14
Light Indigo
#6D5ACF
ΔE00 4.28
Iris
#6258C4
ΔE00 4.92
Azul
#1D5DEC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5EE3 #E3E15C
analogous
#5CA2E3 #5C5EE3 #9D5CE3
triadic
#5C5EE3 #E35C5E #5EE35C
tetradic
#5C5EE3 #E35CA2 #E3E15C #5CE39D
square
#5C5EE3 #E35CA2 #E3E15C #5CE39D
split-complementary
#5C5EE3 #E39D5C #A2E35C
monochromatic
#1D1FA8 #282ADA #5C5EE3 #9092EC #C4C5F5
Accessibility & contrast
On white
5.04
#5C5EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#5C5EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5EE3
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5EE3 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5c5ee3; /* rgb */ color: rgb(92, 94, 227); /* oklch */ color: oklch(55.6% 0.197 277.2);
Tailwind
colors: {
custom: {
50: '#968ced',
500: '#5c5ee3',
950: '#000000',
},
}SCSS
$custom: #5c5ee3; $custom-light: #968ced; $custom-dark: #000000;
JSON
{
"hex": "#5c5ee3",
"rgb": {
"r": 92,
"g": 94,
"b": 227
},
"hsl": {
"h": 239.111,
"s": 70.681,
"l": 62.549
},
"oklch": {
"l": 0.55617,
"c": 0.19724,
"h": 277.2
},
"luminance": 0.15827
}Semantic roles & 50–950 ramp
primary
#5C5EE3
secondary
#E6E5B5
accent
#D013D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84