#6857DF#6857DF

#6857DF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 55.0% C 0.199 H 283.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6857DF
RGBrgb(104, 87, 223)
HSLhsl(248, 68%, 61%)
HSVhsv(248, 61%, 87%)
CMYKcmyk(53.4%, 61%, 0%, 12.5%)
CIE-LABlab(45.75, 42.82, -67.39)
CIE-LCHlch(45.75, 79.85, 302.43°)
OKLaboklab(55.02% 0.046 -0.1933)
OKLCHoklch(55.02% 0.199 283.4)
XYZxyz(22.4323, 15.0859, 71.5276)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6857DF #CEDF57
analogous
#578ADF #6857DF #AC57DF
triadic
#6857DF #DF6857 #57DF68
tetradic
#6857DF #DF578A #CEDF57 #57DFAC
square
#6857DF #DF578A #CEDF57 #57DFAC
split-complementary
#6857DF #DFAC57 #8ADF57
monochromatic
#2E1E9E #3D28D1 #6857DF #968AE9 #C4BEF3

Accessibility & contrast

On white

5.23
#6857DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6857DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6857DF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6857DF#FFFFFF#000000##FFFFFF
##6857DF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#347893
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6857df;
/* rgb */ color: rgb(104, 87, 223);
/* oklch */ color: oklch(55.0% 0.199 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d87ea',
    500: '#6857df',
    950: '#000000',
  },
}
SCSS
$custom: #6857df;
$custom-light: #9d87ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6857df",
  "rgb": {
    "r": 104,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 247.5,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.19874,
    "h": 283.4
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#6857DF
secondary
#DCE3AF
accent
#D016B9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6857DF

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

Preview Lab → · Contrast checker → · Palette generator →

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