#6857E2#6857E2

#6857E2 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.3% C 0.203 H 283.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6857E2
RGBrgb(104, 87, 226)
HSLhsl(247, 71%, 61%)
HSVhsv(247, 62%, 89%)
CMYKcmyk(54%, 61.5%, 0%, 11.4%)
CIE-LABlab(45.97, 43.73, -68.73)
CIE-LCHlch(45.97, 81.46, 302.46°)
OKLaboklab(55.25% 0.0459 -0.1973)
OKLCHoklch(55.25% 0.203 283.1)
XYZxyz(22.8404, 15.2491, 73.6766)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857E2 #D1E257
analogous
#578CE2 #6857E2 #AE57E2
triadic
#6857E2 #E26857 #57E268
tetradic
#6857E2 #E2578C #D1E257 #57E2AE
square
#6857E2 #E2578C #D1E257 #57E2AE
split-complementary
#6857E2 #E2AE57 #8CE257
monochromatic
#2D1CA3 #3B25D7 #6857E2 #978BEB #C6BFF4

Accessibility & contrast

On white

5.19
#6857E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6857E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857E2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857E2#FFFFFF#000000##FFFFFF
##6857E21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#317994
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6857e2;
/* rgb */ color: rgb(104, 87, 226);
/* oklch */ color: oklch(55.3% 0.203 283.1);
Tailwind
colors: {
  custom: {
    50: '#9d87ec',
    500: '#6857e2',
    950: '#000000',
  },
}
SCSS
$custom: #6857e2;
$custom-light: #9d87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6857e2",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 247.338,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55253,
    "c": 0.20254,
    "h": 283.1
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

primary
#6857E2
secondary
#DEE4B0
accent
#D313BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6857E2

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

Preview Lab → · Contrast checker → · Palette generator →

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