#6C5EBA#6C5EBA
#6C5EBA is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.140 H 287.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5EBA |
|---|---|
| RGB | rgb(108, 94, 186) |
| HSL | hsl(249, 40%, 55%) |
| HSV | hsv(249, 49%, 73%) |
| CMYK | cmyk(41.9%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(45.27, 28.49, -46.87) |
| CIE-LCH | lch(45.27, 54.85, 301.29°) |
| OKLab | oklab(53.97% 0.0426 -0.1329) |
| OKLCH | oklch(53.97% 0.14 287.8) |
| XYZ | xyz(19.0475, 14.7381, 48.2860) |
| Luminance | 0.1474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 3.39
Light Indigo
#6D5ACF
ΔE00 3.61
Dark Periwinkle
#665FD1
ΔE00 3.98
Royal Purple
#7851A9
ΔE00 6.26
Warm Blue
#4B57DB
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5EBA #ACBA5E
analogous
#5E7EBA #6C5EBA #9A5EBA
triadic
#6C5EBA #BA6C5E #5EBA6C
tetradic
#6C5EBA #BA5E7E #ACBA5E #5EBA9A
square
#6C5EBA #BA5E7E #ACBA5E #5EBA9A
split-complementary
#6C5EBA #BA9A5E #7EBA5E
monochromatic
#392F6E #4F4299 #6C5EBA #9389CC #BAB4DF
Accessibility & contrast
On white
5.32
#6C5EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#6C5EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5EBA
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5EBA | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#3869B8
Tritanopia (blue-blind)
#557183
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6c5eba; /* rgb */ color: rgb(108, 94, 186); /* oklch */ color: oklch(54.0% 0.140 287.8);
Tailwind
colors: {
custom: {
50: '#9a8ccf',
500: '#6c5eba',
950: '#000000',
},
}SCSS
$custom: #6c5eba; $custom-light: #9a8ccf; $custom-dark: #000000;
JSON
{
"hex": "#6c5eba",
"rgb": {
"r": 108,
"g": 94,
"b": 186
},
"hsl": {
"h": 249.13,
"s": 40,
"l": 54.902
},
"oklch": {
"l": 0.53969,
"c": 0.13953,
"h": 287.8
},
"luminance": 0.14739
}Semantic roles & 50–950 ramp
primary
#6C5EBA
secondary
#C7CDA7
accent
#D058BE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82