#6857D2#6857D2

#6857D2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.182 H 284.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6857D2
RGBrgb(104, 87, 210)
HSLhsl(248, 58%, 58%)
HSVhsv(248, 59%, 82%)
CMYKcmyk(50.5%, 58.6%, 0%, 17.6%)
CIE-LABlab(44.82, 38.91, -61.49)
CIE-LCHlch(44.82, 72.76, 302.32°)
OKLaboklab(54.04% 0.0466 -0.176)
OKLCHoklch(54.04% 0.182 284.8)
XYZxyz(20.7465, 14.4115, 62.6488)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857D2 #C1D257
analogous
#5783D2 #6857D2 #A557D2
triadic
#6857D2 #D26857 #57D268
tetradic
#6857D2 #D25783 #C1D257 #57D2A5
square
#6857D2 #D25783 #C1D257 #57D2A5
split-complementary
#6857D2 #D2A557 #83D257
monochromatic
#33258A #4532BA #6857D2 #9387DF #BFB8EC

Accessibility & contrast

On white

5.41
#6857D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6857D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857D2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857D2#FFFFFF#000000##FFFFFF
##6857D21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#40738C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6857d2;
/* rgb */ color: rgb(104, 87, 210);
/* oklch */ color: oklch(54.0% 0.182 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b87e1',
    500: '#6857d2',
    950: '#000000',
  },
}
SCSS
$custom: #6857d2;
$custom-light: #9b87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6857d2",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 248.293,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.18203,
    "h": 284.8
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#6857D2
secondary
#D4DBAA
accent
#E147CC
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6857D2

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

Preview Lab → · Contrast checker → · Palette generator →

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