#6856CC#6856CC
#6856CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.176 H 285.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #6856CC |
|---|---|
| RGB | rgb(104, 86, 204) |
| HSL | hsl(249, 54%, 57%) |
| HSV | hsv(249, 58%, 80%) |
| CMYK | cmyk(49%, 57.8%, 0%, 20%) |
| CIE-LAB | lab(44.17, 37.70, -59.09) |
| CIE-LCH | lch(44.17, 70.09, 302.54°) |
| OKLab | oklab(53.43% 0.0478 -0.1689) |
| OKLCH | oklch(53.43% 0.176 285.8) |
| XYZ | xyz(19.9326, 13.9573, 58.7588) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.23
Light Indigo
#6D5ACF
ΔE00 1.49
Iris
#6258C4
ΔE00 1.77
Dark Periwinkle
#665FD1
ΔE00 2.99
Warm Blue
#4B57DB
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856CC #BACC56
analogous
#567FCC #6856CC #A356CC
triadic
#6856CC #CC6856 #56CC68
tetradic
#6856CC #CC567F #BACC56 #56CCA3
square
#6856CC #CC567F #BACC56 #56CCA3
split-complementary
#6856CC #CCA356 #7FCC56
monochromatic
#352781 #4835B0 #6856CC #9285DA #BCB4E8
Accessibility & contrast
On white
5.54
#6856CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#6856CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856CC
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856CC | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#457189
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6856cc; /* rgb */ color: rgb(104, 86, 204); /* oklch */ color: oklch(53.4% 0.176 285.8);
Tailwind
colors: {
custom: {
50: '#9a86dc',
500: '#6856cc',
950: '#000000',
},
}SCSS
$custom: #6856cc; $custom-light: #9a86dc; $custom-dark: #000000;
JSON
{
"hex": "#6856cc",
"rgb": {
"r": 104,
"g": 86,
"b": 204
},
"hsl": {
"h": 249.153,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.53433,
"c": 0.17554,
"h": 285.8
},
"luminance": 0.13958
}Semantic roles & 50–950 ramp
primary
#6856CC
secondary
#D0D7A7
accent
#DD4BC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83