#6C5DC2#6C5DC2
#6C5DC2 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.152 H 287.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #6C5DC2 |
|---|---|
| RGB | rgb(108, 93, 194) |
| HSL | hsl(249, 45%, 56%) |
| HSV | hsv(249, 52%, 76%) |
| CMYK | cmyk(44.3%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(45.51, 31.43, -51.13) |
| CIE-LCH | lch(45.51, 60.02, 301.58°) |
| OKLab | oklab(54.3% 0.0445 -0.1454) |
| OKLCH | oklch(54.3% 0.152 287) |
| XYZ | xyz(19.8335, 14.9111, 52.8616) |
| Luminance | 0.1491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.01
Light Indigo
#6D5ACF
ΔE00 2.23
Iris
#6258C4
ΔE00 2.38
Dark Periwinkle
#665FD1
ΔE00 2.80
Warm Blue
#4B57DB
ΔE00 6.44
Royal Purple
#7851A9
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C5DC2 #B3C25D
analogous
#5D81C2 #6C5DC2 #9F5DC2
triadic
#6C5DC2 #C26C5D #5DC26C
tetradic
#6C5DC2 #C25D81 #B3C25D #5DC29F
square
#6C5DC2 #C25D81 #B3C25D #5DC29F
split-complementary
#6C5DC2 #C29F5D #81C25D
monochromatic
#382D78 #4D3EA4 #6C5DC2 #9489D3 #BDB6E3
Accessibility & contrast
On white
5.27
#6C5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#6C5DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C5DC2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C5DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C5DC2 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#527287
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6c5dc2; /* rgb */ color: rgb(108, 93, 194); /* oklch */ color: oklch(54.3% 0.152 287.0);
Tailwind
colors: {
custom: {
50: '#9b8bd5',
500: '#6c5dc2',
950: '#000000',
},
}SCSS
$custom: #6c5dc2; $custom-light: #9b8bd5; $custom-dark: #000000;
JSON
{
"hex": "#6c5dc2",
"rgb": {
"r": 108,
"g": 93,
"b": 194
},
"hsl": {
"h": 248.911,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.54303,
"c": 0.15203,
"h": 287
},
"luminance": 0.14912
}Semantic roles & 50–950 ramp
primary
#6C5DC2
secondary
#CCD2A9
accent
#D553C2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0F0C14
muted
#7E7D83