#6857E8#6857E8

#6857E8 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.210 H 282.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6857E8
RGBrgb(104, 87, 232)
HSLhsl(247, 76%, 63%)
HSVhsv(247, 63%, 91%)
CMYKcmyk(55.2%, 62.5%, 0%, 9%)
CIE-LABlab(46.42, 45.54, -71.39)
CIE-LCHlch(46.42, 84.68, 302.53°)
OKLaboklab(55.72% 0.0454 -0.2051)
OKLCHoklch(55.72% 0.21 282.5)
XYZxyz(23.6781, 15.5842, 78.0886)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857E8 #D7E857
analogous
#578FE8 #6857E8 #B057E8
triadic
#6857E8 #E86857 #57E868
tetradic
#6857E8 #E8578F #D7E857 #57E8B0
square
#6857E8 #E8578F #D7E857 #57E8B0
split-complementary
#6857E8 #E8B057 #8FE857
monochromatic
#2918AD #3821E1 #6857E8 #988DEF #C9C3F7

Accessibility & contrast

On white

5.10
#6857E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6857E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857E8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857E8#FFFFFF#000000##FFFFFF
##6857E81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#297B98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6857e8;
/* rgb */ color: rgb(104, 87, 232);
/* oklch */ color: oklch(55.7% 0.210 282.5);
Tailwind
colors: {
  custom: {
    50: '#9e87f0',
    500: '#6857e8',
    950: '#000000',
  },
}
SCSS
$custom: #6857e8;
$custom-light: #9e87f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6857e8",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 247.034,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.21007,
    "h": 282.5
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#6857E8
secondary
#E2E8B3
accent
#D80DC0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6857E8

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

Preview Lab → · Contrast checker → · Palette generator →

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