#6857D8#6857D8

#6857D8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.5% C 0.190 H 284.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6857D8
RGBrgb(104, 87, 216)
HSLhsl(248, 62%, 59%)
HSVhsv(248, 60%, 85%)
CMYKcmyk(51.9%, 59.7%, 0%, 15.3%)
CIE-LABlab(45.24, 40.71, -64.23)
CIE-LCHlch(45.24, 76.05, 302.37°)
OKLaboklab(54.49% 0.0464 -0.184)
OKLCHoklch(54.49% 0.19 284.1)
XYZxyz(21.5080, 14.7162, 66.6596)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857D8 #C7D857
analogous
#5787D8 #6857D8 #A957D8
triadic
#6857D8 #D86857 #57D868
tetradic
#6857D8 #D85787 #C7D857 #57D8A9
square
#6857D8 #D85787 #C7D857 #57D8A9
split-complementary
#6857D8 #D8A957 #87D857
monochromatic
#312293 #412EC4 #6857D8 #9589E4 #C1BAEF

Accessibility & contrast

On white

5.33
#6857D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6857D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857D8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857D8#FFFFFF#000000##FFFFFF
##6857D81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#3B758F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6857d8;
/* rgb */ color: rgb(104, 87, 216);
/* oklch */ color: oklch(54.5% 0.190 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c87e5',
    500: '#6857d8',
    950: '#000000',
  },
}
SCSS
$custom: #6857d8;
$custom-light: #9c87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6857d8",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 247.907,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54488,
    "c": 0.1898,
    "h": 284.1
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#6857D8
secondary
#D8DFAC
accent
#E542D0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6857D8

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6857D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva