#6857EF#6857EF

#6857EF is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.3% C 0.219 H 281.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6857EF
RGBrgb(104, 87, 239)
HSLhsl(247, 83%, 64%)
HSVhsv(247, 64%, 94%)
CMYKcmyk(56.5%, 63.6%, 0%, 6.3%)
CIE-LABlab(46.96, 47.66, -74.46)
CIE-LCHlch(46.96, 88.40, 302.62°)
OKLaboklab(56.28% 0.0448 -0.2141)
OKLCHoklch(56.28% 0.219 281.8)
XYZxyz(24.6923, 15.9898, 83.4298)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857EF #DEEF57
analogous
#5792EF #6857EF #B457EF
triadic
#6857EF #EF6857 #57EF68
tetradic
#6857EF #EF5792 #DEEF57 #57EFB4
square
#6857EF #EF5792 #DEEF57 #57EFB4
split-complementary
#6857EF #EFB457 #92EF57
monochromatic
#2512BA #361FEA #6857EF #9A8FF4 #CCC7FA

Accessibility & contrast

On white

5.00
#6857EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6857EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857EF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857EF#FFFFFF#000000##FFFFFF
##6857EF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#1D7D9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6857ef;
/* rgb */ color: rgb(104, 87, 239);
/* oklch */ color: oklch(56.3% 0.219 281.8);
Tailwind
colors: {
  custom: {
    50: '#9f87f5',
    500: '#6857ef',
    950: '#000000',
  },
}
SCSS
$custom: #6857ef;
$custom-light: #9f87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6857ef",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 246.711,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.21874,
    "h": 281.8
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#6857EF
secondary
#E6ECB6
accent
#DF06C7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6857EF

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

Preview Lab → · Contrast checker → · Palette generator →

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