#6856DC#6856DC
#6856DC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.196 H 283.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6856DC |
|---|---|
| RGB | rgb(104, 86, 220) |
| HSL | hsl(248, 66%, 60%) |
| HSV | hsv(248, 61%, 86%) |
| CMYK | cmyk(52.7%, 60.9%, 0%, 13.7%) |
| CIE-LAB | lab(45.31, 42.50, -66.40) |
| CIE-LCH | lch(45.31, 78.84, 302.62°) |
| OKLab | oklab(54.63% 0.0472 -0.1904) |
| OKLCH | oklch(54.63% 0.196 283.9) |
| XYZ | xyz(21.9511, 14.7647, 69.3895) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.26
Slate Blue
#6A5ACD
ΔE00 2.38
Dark Periwinkle
#665FD1
ΔE00 3.12
Iris
#6258C4
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 4.39
Purpley
#8756E4
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856DC #CADC56
analogous
#5687DC #6856DC #AB56DC
triadic
#6856DC #DC6856 #56DC68
tetradic
#6856DC #DC5687 #CADC56 #56DCAB
square
#6856DC #DC5687 #CADC56 #56DCAB
split-complementary
#6856DC #DCAB56 #87DC56
monochromatic
#302098 #402ACB #6856DC #9589E6 #C3BBF1
Accessibility & contrast
On white
5.31
#6856DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#6856DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856DC
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856DC | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#377691
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6856dc; /* rgb */ color: rgb(104, 86, 220); /* oklch */ color: oklch(54.6% 0.196 283.9);
Tailwind
colors: {
custom: {
50: '#9c86e8',
500: '#6856dc',
950: '#000000',
},
}SCSS
$custom: #6856dc; $custom-light: #9c86e8; $custom-dark: #000000;
JSON
{
"hex": "#6856dc",
"rgb": {
"r": 104,
"g": 86,
"b": 220
},
"hsl": {
"h": 248.06,
"s": 65.686,
"l": 60
},
"oklch": {
"l": 0.54629,
"c": 0.19619,
"h": 283.9
},
"luminance": 0.14766
}Semantic roles & 50–950 ramp
primary
#6856DC
secondary
#DAE1AD
accent
#E93FD2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84