#6856E8#6856E8
#6856E8 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.6% C 0.211 H 282.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #6856E8 |
|---|---|
| RGB | rgb(104, 86, 232) |
| HSL | hsl(247, 76%, 62%) |
| HSV | hsv(247, 63%, 91%) |
| CMYK | cmyk(55.2%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(46.21, 46.11, -71.74) |
| CIE-LCH | lch(46.21, 85.29, 302.73°) |
| OKLab | oklab(55.57% 0.0463 -0.2061) |
| OKLCH | oklch(55.57% 0.211 282.7) |
| XYZ | xyz(23.5977, 15.4234, 78.0618) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.60
Slate Blue
#6A5ACD
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.00
Warm Blue
#4B57DB
ΔE00 4.77
Iris
#6258C4
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856E8 #D6E856
analogous
#568DE8 #6856E8 #B156E8
triadic
#6856E8 #E86856 #56E868
tetradic
#6856E8 #E8568D #D6E856 #56E8B1
square
#6856E8 #E8568D #D6E856 #56E8B1
split-complementary
#6856E8 #E8B156 #8DE856
monochromatic
#2A17AC #3820E1 #6856E8 #988CEF #C8C2F7
Accessibility & contrast
On white
5.14
#6856E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#6856E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856E8
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856E8 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0068E5
Tritanopia (blue-blind)
#297A97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6856e8; /* rgb */ color: rgb(104, 86, 232); /* oklch */ color: oklch(55.6% 0.211 282.7);
Tailwind
colors: {
custom: {
50: '#9e87f0',
500: '#6856e8',
950: '#000000',
},
}SCSS
$custom: #6856e8; $custom-light: #9e87f0; $custom-dark: #000000;
JSON
{
"hex": "#6856e8",
"rgb": {
"r": 104,
"g": 86,
"b": 232
},
"hsl": {
"h": 247.397,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.55566,
"c": 0.21127,
"h": 282.7
},
"luminance": 0.15425
}Semantic roles & 50–950 ramp
primary
#6856E8
secondary
#E1E8B2
accent
#D80DBF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85