#6851DC#6851DC

#6851DC is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.202 H 284.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6851DC
RGBrgb(104, 81, 220)
HSLhsl(250, 67%, 59%)
HSVhsv(250, 63%, 86%)
CMYKcmyk(52.7%, 63.2%, 0%, 13.7%)
CIE-LABlab(44.22, 45.37, -68.17)
CIE-LCHlch(44.22, 81.89, 303.65°)
OKLaboklab(53.84% 0.0521 -0.1956)
OKLCHoklch(53.84% 0.202 284.9)
XYZxyz(21.5657, 13.9940, 69.2610)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851DC #C5DC51
analogous
#5180DC #6851DC #AE51DC
triadic
#6851DC #DC6851 #51DC68
tetradic
#6851DC #DC5180 #C5DC51 #51DCAE
square
#6851DC #DC5180 #C5DC51 #51DCAE
split-complementary
#6851DC #DCAE51 #80DC51
monochromatic
#321E95 #4328C8 #6851DC #9484E6 #C0B7F0

Accessibility & contrast

On white

5.53
#6851DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6851DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851DC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851DC#FFFFFF#000000##FFFFFF
##6851DC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#38738F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6851dc;
/* rgb */ color: rgb(104, 81, 220);
/* oklch */ color: oklch(53.8% 0.202 284.9);
Tailwind
colors: {
  custom: {
    50: '#9d83e8',
    500: '#6851dc',
    950: '#000000',
  },
}
SCSS
$custom: #6851dc;
$custom-light: #9d83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6851dc",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 249.928,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.20244,
    "h": 284.9
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#6851DC
secondary
#D7E0A9
accent
#E93ECD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851DC

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

Preview Lab → · Contrast checker → · Palette generator →

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