#5C5FDC#5C5FDC
#5C5FDC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.187 H 277.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FDC |
|---|---|
| RGB | rgb(92, 95, 220) |
| HSL | hsl(239, 65%, 61%) |
| HSV | hsv(239, 58%, 86%) |
| CMYK | cmyk(58.2%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(46.48, 34.97, -64.55) |
| CIE-LCH | lch(46.48, 73.41, 298.44°) |
| OKLab | oklab(55.26% 0.0239 -0.1853) |
| OKLCH | oklch(55.26% 0.187 277.3) |
| XYZ | xyz(21.4200, 15.6255, 69.5835) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.23
Warm Blue
#4B57DB
ΔE00 3.18
Slate Blue
#6A5ACD
ΔE00 3.75
Light Indigo
#6D5ACF
ΔE00 4.00
Iris
#6258C4
ΔE00 4.31
Royal Blue
#4169E1
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FDC #DCD95C
analogous
#5C9FDC #5C5FDC #995CDC
triadic
#5C5FDC #DC5C5F #5FDC5C
tetradic
#5C5FDC #DC5C9F #DCD95C #5CDC99
square
#5C5FDC #DC5C9F #DCD95C #5CDC99
split-complementary
#5C5FDC #DC995C #9FDC5C
monochromatic
#22249C #2C30CE #5C5FDC #8E90E7 #C1C2F2
Accessibility & contrast
On white
5.09
#5C5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5C5FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FDC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FDC | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5c5fdc; /* rgb */ color: rgb(92, 95, 220); /* oklch */ color: oklch(55.3% 0.187 277.3);
Tailwind
colors: {
custom: {
50: '#958ce8',
500: '#5c5fdc',
950: '#000000',
},
}SCSS
$custom: #5c5fdc; $custom-light: #958ce8; $custom-dark: #000000;
JSON
{
"hex": "#5c5fdc",
"rgb": {
"r": 92,
"g": 95,
"b": 220
},
"hsl": {
"h": 238.594,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.55262,
"c": 0.18679,
"h": 277.3
},
"luminance": 0.15627
}Semantic roles & 50–950 ramp
primary
#5C5FDC
secondary
#E2E1B2
accent
#C819CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84