#6856CD#6856CD
#6856CD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.177 H 285.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #6856CD |
|---|---|
| RGB | rgb(104, 86, 205) |
| HSL | hsl(249, 54%, 57%) |
| HSV | hsv(249, 58%, 80%) |
| CMYK | cmyk(49.3%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(44.24, 38.00, -59.55) |
| CIE-LCH | lch(44.24, 70.64, 302.54°) |
| OKLab | oklab(53.51% 0.0478 -0.1703) |
| OKLCH | oklch(53.51% 0.177 285.7) |
| XYZ | xyz(20.0529, 14.0054, 59.3925) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.22
Light Indigo
#6D5ACF
ΔE00 1.45
Iris
#6258C4
ΔE00 1.86
Dark Periwinkle
#665FD1
ΔE00 2.95
Warm Blue
#4B57DB
ΔE00 4.83
Bluey Purple
#6241C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856CD #BBCD56
analogous
#567FCD #6856CD #A456CD
triadic
#6856CD #CD6856 #56CD68
tetradic
#6856CD #CD567F #BBCD56 #56CDA4
square
#6856CD #CD567F #BBCD56 #56CDA4
split-complementary
#6856CD #CDA456 #7FCD56
monochromatic
#342682 #4734B1 #6856CD #9285DB #BCB4E9
Accessibility & contrast
On white
5.52
#6856CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#6856CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856CD
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856CD | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#447189
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6856cd; /* rgb */ color: rgb(104, 86, 205); /* oklch */ color: oklch(53.5% 0.177 285.7);
Tailwind
colors: {
custom: {
50: '#9a86dd',
500: '#6856cd',
950: '#000000',
},
}SCSS
$custom: #6856cd; $custom-light: #9a86dd; $custom-dark: #000000;
JSON
{
"hex": "#6856cd",
"rgb": {
"r": 104,
"g": 86,
"b": 205
},
"hsl": {
"h": 249.076,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.53506,
"c": 0.17684,
"h": 285.7
},
"luminance": 0.14006
}Semantic roles & 50–950 ramp
primary
#6856CD
secondary
#D0D8A7
accent
#DE4AC7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83