#6C6DFD#6C6DFD
#6C6DFD is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.2% C 0.209 H 278.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6C6DFD |
|---|---|
| RGB | rgb(108, 109, 253) |
| HSL | hsl(240, 97%, 71%) |
| HSV | hsv(240, 57%, 99%) |
| CMYK | cmyk(57.3%, 56.9%, 0%, 0.8%) |
| CIE-LAB | lab(53.18, 39.85, -72.13) |
| CIE-LCH | lch(53.18, 82.41, 298.92°) |
| OKLab | oklab(61.25% 0.029 -0.207) |
| OKLCH | oklch(61.25% 0.209 278) |
| XYZ | xyz(29.3769, 21.2152, 95.4564) |
| Luminance | 0.2122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.59
Cornflower
#6A79F7
ΔE00 3.90
Cornflower Blue
#5170D7
ΔE00 7.31
Periwinkle (survey)
#8E82FE
ΔE00 7.62
Royal Blue
#4169E1
ΔE00 7.71
Dark Periwinkle
#665FD1
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C6DFD #FDFC6C
analogous
#6CB5FD #6C6DFD #B36CFD
triadic
#6C6DFD #FD6C6D #6DFD6C
tetradic
#6C6DFD #FD6CB5 #FDFC6C #6CFDB3
square
#6C6DFD #FD6CB5 #FDFC6C #6CFDB3
split-complementary
#6C6DFD #FDB36C #B5FD6C
monochromatic
#0305EB #3031FC #6C6DFD #A8A9FE #E1E1FF
Accessibility & contrast
On white
4.01
#6C6DFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#6C6DFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6C6DFD
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C6DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6C6DFD | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#038FAB
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #6c6dfd; /* rgb */ color: rgb(108, 109, 253); /* oklch */ color: oklch(61.2% 0.209 278.0);
Tailwind
colors: {
custom: {
50: '#a297ff',
500: '#6c6dfd',
950: '#000000',
},
}SCSS
$custom: #6c6dfd; $custom-light: #a297ff; $custom-dark: #000000;
JSON
{
"hex": "#6c6dfd",
"rgb": {
"r": 108,
"g": 109,
"b": 253
},
"hsl": {
"h": 239.586,
"s": 97.315,
"l": 70.784
},
"oklch": {
"l": 0.61246,
"c": 0.20906,
"h": 278
},
"luminance": 0.21217
}Semantic roles & 50–950 ramp
primary
#6C6DFD
secondary
#F6F6CF
accent
#E400E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86