#6856DB#6856DB
#6856DB is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.6% C 0.195 H 284.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6856DB |
|---|---|
| RGB | rgb(104, 86, 219) |
| HSL | hsl(248, 65%, 60%) |
| HSV | hsv(248, 61%, 86%) |
| CMYK | cmyk(52.5%, 60.7%, 0%, 14.1%) |
| CIE-LAB | lab(45.24, 42.20, -65.95) |
| CIE-LCH | lch(45.24, 78.30, 302.61°) |
| OKLab | oklab(54.55% 0.0473 -0.1891) |
| OKLCH | oklch(54.55% 0.195 284) |
| XYZ | xyz(21.8190, 14.7119, 68.6941) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.16
Slate Blue
#6A5ACD
ΔE00 2.27
Dark Periwinkle
#665FD1
ΔE00 3.07
Iris
#6258C4
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 4.39
Purpley
#8756E4
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856DB #C9DB56
analogous
#5687DB #6856DB #AA56DB
triadic
#6856DB #DB6856 #56DB68
tetradic
#6856DB #DB5687 #C9DB56 #56DBAA
square
#6856DB #DB5687 #C9DB56 #56DBAA
split-complementary
#6856DB #DBAA56 #87DB56
monochromatic
#302097 #402BC9 #6856DB #9588E6 #C2BBF0
Accessibility & contrast
On white
5.33
#6856DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#6856DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856DB
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856DB | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#387690
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6856db; /* rgb */ color: rgb(104, 86, 219); /* oklch */ color: oklch(54.6% 0.195 284.0);
Tailwind
colors: {
custom: {
50: '#9c86e7',
500: '#6856db',
950: '#000000',
},
}SCSS
$custom: #6856db; $custom-light: #9c86e7; $custom-dark: #000000;
JSON
{
"hex": "#6856db",
"rgb": {
"r": 104,
"g": 86,
"b": 219
},
"hsl": {
"h": 248.12,
"s": 64.878,
"l": 59.804
},
"oklch": {
"l": 0.54552,
"c": 0.19491,
"h": 284
},
"luminance": 0.14713
}Semantic roles & 50–950 ramp
primary
#6856DB
secondary
#D9E0AD
accent
#E840D1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84