#5C5FEB#5C5FEB
#5C5FEB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.4% C 0.206 H 276.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FEB |
|---|---|
| RGB | rgb(92, 95, 235) |
| HSL | hsl(239, 78%, 64%) |
| HSV | hsv(239, 61%, 92%) |
| CMYK | cmyk(60.9%, 59.6%, 0%, 7.8%) |
| CIE-LAB | lab(47.57, 39.81, -71.26) |
| CIE-LCH | lch(47.57, 81.63, 299.19°) |
| OKLab | oklab(56.41% 0.0237 -0.205) |
| OKLCH | oklch(56.41% 0.206 276.6) |
| XYZ | xyz(23.4964, 16.4560, 80.5193) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.74
Warm Blue
#4B57DB
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 5.02
Light Indigo
#6D5ACF
ΔE00 5.06
Mediumslateblue
#7B68EE
ΔE00 5.54
Royal Blue
#4169E1
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FEB #EBE85C
analogous
#5CA7EB #5C5FEB #A15CEB
triadic
#5C5FEB #EB5C5F #5FEB5C
tetradic
#5C5FEB #EB5CA7 #EBE85C #5CEBA1
square
#5C5FEB #EB5CA7 #EBE85C #5CEBA1
split-complementary
#5C5FEB #EBA15C #A7EB5C
monochromatic
#161AB6 #2529E4 #5C5FEB #9395F2 #C9CAF8
Accessibility & contrast
On white
4.89
#5C5FEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#5C5FEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FEB
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FEB | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5c5feb; /* rgb */ color: rgb(92, 95, 235); /* oklch */ color: oklch(56.4% 0.206 276.6);
Tailwind
colors: {
custom: {
50: '#988cf2',
500: '#5c5feb',
950: '#000000',
},
}SCSS
$custom: #5c5feb; $custom-light: #988cf2; $custom-dark: #000000;
JSON
{
"hex": "#5c5feb",
"rgb": {
"r": 92,
"g": 95,
"b": 235
},
"hsl": {
"h": 238.741,
"s": 78.142,
"l": 64.118
},
"oklch": {
"l": 0.56409,
"c": 0.20636,
"h": 276.6
},
"luminance": 0.16458
}Semantic roles & 50–950 ramp
primary
#5C5FEB
secondary
#EAE9B8
accent
#D60BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85