#6856E3#6856E3
#6856E3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.205 H 283.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6856E3 |
|---|---|
| RGB | rgb(104, 86, 227) |
| HSL | hsl(248, 72%, 61%) |
| HSV | hsv(248, 62%, 89%) |
| CMYK | cmyk(54.2%, 62.1%, 0%, 11%) |
| CIE-LAB | lab(45.83, 44.61, -69.53) |
| CIE-LCH | lch(45.83, 82.61, 302.68°) |
| OKLab | oklab(55.17% 0.0467 -0.1996) |
| OKLCH | oklch(55.17% 0.205 283.2) |
| XYZ | xyz(22.8976, 15.1433, 74.3745) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 3.59
Iris
#6258C4
ΔE00 4.52
Warm Blue
#4B57DB
ΔE00 4.54
Purpley
#8756E4
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6856E3 #D1E356
analogous
#568BE3 #6856E3 #AF56E3
triadic
#6856E3 #E36856 #56E368
tetradic
#6856E3 #E3568B #D1E356 #56E3AF
square
#6856E3 #E3568B #D1E356 #56E3AF
split-complementary
#6856E3 #E3AF56 #8BE356
monochromatic
#2D1BA4 #3B24D8 #6856E3 #978BEC #C6BFF4
Accessibility & contrast
On white
5.21
#6856E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#6856E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6856E3
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6856E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6856E3 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#307895
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6856e3; /* rgb */ color: rgb(104, 86, 227); /* oklch */ color: oklch(55.2% 0.205 283.2);
Tailwind
colors: {
custom: {
50: '#9d86ed',
500: '#6856e3',
950: '#000000',
},
}SCSS
$custom: #6856e3; $custom-light: #9d86ed; $custom-dark: #000000;
JSON
{
"hex": "#6856e3",
"rgb": {
"r": 104,
"g": 86,
"b": 227
},
"hsl": {
"h": 247.66,
"s": 71.574,
"l": 61.373
},
"oklch": {
"l": 0.55172,
"c": 0.20503,
"h": 283.2
},
"luminance": 0.15145
}Semantic roles & 50–950 ramp
primary
#6856E3
secondary
#DEE5B0
accent
#D412BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84