#6857EC#6857EC

#6857EC is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.215 H 282.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6857EC
RGBrgb(104, 87, 236)
HSLhsl(247, 80%, 63%)
HSVhsv(247, 63%, 93%)
CMYKcmyk(55.9%, 63.1%, 0%, 7.5%)
CIE-LABlab(46.73, 46.75, -73.15)
CIE-LCHlch(46.73, 86.81, 302.58°)
OKLaboklab(56.04% 0.0451 -0.2103)
OKLCHoklch(56.04% 0.215 282.1)
XYZxyz(24.2527, 15.8140, 81.1150)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857EC #DBEC57
analogous
#5790EC #6857EC #B357EC
triadic
#6857EC #EC6857 #57EC68
tetradic
#6857EC #EC5790 #DBEC57 #57ECB3
square
#6857EC #EC5790 #DBEC57 #57ECB3
split-complementary
#6857EC #ECB357 #90EC57
monochromatic
#2714B4 #3720E6 #6857EC #998EF2 #CBC5F8

Accessibility & contrast

On white

5.04
#6857EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6857EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857EC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857EC#FFFFFF#000000##FFFFFF
##6857EC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#237C9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6857ec;
/* rgb */ color: rgb(104, 87, 236);
/* oklch */ color: oklch(56.0% 0.215 282.1);
Tailwind
colors: {
  custom: {
    50: '#9f87f3',
    500: '#6857ec',
    950: '#000000',
  },
}
SCSS
$custom: #6857ec;
$custom-light: #9f87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6857ec",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 246.846,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.21504,
    "h": 282.1
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#6857EC
secondary
#E4EAB5
accent
#DC0AC4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6857EC

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

Preview Lab → · Contrast checker → · Palette generator →

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