#5C5FDA#5C5FDA
#5C5FDA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.184 H 277.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5C5FDA |
|---|---|
| RGB | rgb(92, 95, 218) |
| HSL | hsl(239, 63%, 61%) |
| HSV | hsv(239, 58%, 85%) |
| CMYK | cmyk(57.8%, 56.4%, 0%, 14.5%) |
| CIE-LAB | lab(46.34, 34.32, -63.64) |
| CIE-LCH | lch(46.34, 72.30, 298.34°) |
| OKLab | oklab(55.11% 0.0238 -0.1826) |
| OKLCH | oklch(55.11% 0.184 277.4) |
| XYZ | xyz(21.1567, 15.5202, 68.1969) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.09
Warm Blue
#4B57DB
ΔE00 3.15
Slate Blue
#6A5ACD
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 3.91
Iris
#6258C4
ΔE00 4.11
Royal Blue
#4169E1
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C5FDA #DAD75C
analogous
#5C9EDA #5C5FDA #985CDA
triadic
#5C5FDA #DA5C5F #5FDA5C
tetradic
#5C5FDA #DA5C9E #DAD75C #5CDA98
square
#5C5FDA #DA5C9E #DAD75C #5CDA98
split-complementary
#5C5FDA #DA985C #9EDA5C
monochromatic
#232699 #2E32CB #5C5FDA #8E90E5 #C0C1F1
Accessibility & contrast
On white
5.12
#5C5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5C5FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C5FDA
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C5FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C5FDA | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#017C93
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5c5fda; /* rgb */ color: rgb(92, 95, 218); /* oklch */ color: oklch(55.1% 0.184 277.4);
Tailwind
colors: {
custom: {
50: '#958ce6',
500: '#5c5fda',
950: '#000000',
},
}SCSS
$custom: #5c5fda; $custom-light: #958ce6; $custom-dark: #000000;
JSON
{
"hex": "#5c5fda",
"rgb": {
"r": 92,
"g": 95,
"b": 218
},
"hsl": {
"h": 238.571,
"s": 63,
"l": 60.784
},
"oklch": {
"l": 0.55113,
"c": 0.18413,
"h": 277.4
},
"luminance": 0.15522
}Semantic roles & 50–950 ramp
primary
#5C5FDA
secondary
#E1E0B1
accent
#C71BCB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84