#6851DF#6851DF

#6851DF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.206 H 284.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6851DF
RGBrgb(104, 81, 223)
HSLhsl(250, 69%, 60%)
HSVhsv(250, 64%, 87%)
CMYKcmyk(53.4%, 63.7%, 0%, 12.5%)
CIE-LABlab(44.45, 46.26, -69.50)
CIE-LCHlch(44.45, 83.49, 303.65°)
OKLaboklab(54.08% 0.0518 -0.1996)
OKLCHoklch(54.08% 0.206 284.5)
XYZxyz(21.9666, 14.1544, 71.3723)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851DF #C8DF51
analogous
#5181DF #6851DF #AF51DF
triadic
#6851DF #DF6851 #51DF68
tetradic
#6851DF #DF5181 #C8DF51 #51DFAF
square
#6851DF #DF5181 #C8DF51 #51DFAF
split-complementary
#6851DF #DFAF51 #81DF51
monochromatic
#301C99 #4126CD #6851DF #9585E9 #C2B8F2

Accessibility & contrast

On white

5.48
#6851DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6851DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851DF#FFFFFF#000000##FFFFFF
##6851DF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#357491
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6851df;
/* rgb */ color: rgb(104, 81, 223);
/* oklch */ color: oklch(54.1% 0.206 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d83ea',
    500: '#6851df',
    950: '#000000',
  },
}
SCSS
$custom: #6851df;
$custom-light: #9d83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6851df",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 249.718,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.20617,
    "h": 284.5
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#6851DF
secondary
#D9E1AA
accent
#EC3CCF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851DF

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

Preview Lab → · Contrast checker → · Palette generator →

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