#6857DF#6857DF
#6857DF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 55.0% C 0.199 H 283.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #6857DF |
|---|---|
| RGB | rgb(104, 87, 223) |
| HSL | hsl(248, 68%, 61%) |
| HSV | hsv(248, 61%, 87%) |
| CMYK | cmyk(53.4%, 61%, 0%, 12.5%) |
| CIE-LAB | lab(45.75, 42.82, -67.39) |
| CIE-LCH | lch(45.75, 79.85, 302.43°) |
| OKLab | oklab(55.02% 0.046 -0.1933) |
| OKLCH | oklch(55.02% 0.199 283.4) |
| XYZ | xyz(22.4323, 15.0859, 71.5276) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.50
Slate Blue
#6A5ACD
ΔE00 2.65
Dark Periwinkle
#665FD1
ΔE00 3.08
Iris
#6258C4
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.39
Purpley
#8756E4
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6857DF #CEDF57
analogous
#578ADF #6857DF #AC57DF
triadic
#6857DF #DF6857 #57DF68
tetradic
#6857DF #DF578A #CEDF57 #57DFAC
square
#6857DF #DF578A #CEDF57 #57DFAC
split-complementary
#6857DF #DFAC57 #8ADF57
monochromatic
#2E1E9E #3D28D1 #6857DF #968AE9 #C4BEF3
Accessibility & contrast
On white
5.23
#6857DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#6857DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6857DF
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6857DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6857DF | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#347893
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6857df; /* rgb */ color: rgb(104, 87, 223); /* oklch */ color: oklch(55.0% 0.199 283.4);
Tailwind
colors: {
custom: {
50: '#9d87ea',
500: '#6857df',
950: '#000000',
},
}SCSS
$custom: #6857df; $custom-light: #9d87ea; $custom-dark: #000000;
JSON
{
"hex": "#6857df",
"rgb": {
"r": 104,
"g": 87,
"b": 223
},
"hsl": {
"h": 247.5,
"s": 68,
"l": 60.784
},
"oklch": {
"l": 0.55021,
"c": 0.19874,
"h": 283.4
},
"luminance": 0.15087
}Semantic roles & 50–950 ramp
primary
#6857DF
secondary
#DCE3AF
accent
#D016B9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84