#6851DD#6851DD

#6851DD is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.9% C 0.204 H 284.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6851DD
RGBrgb(104, 81, 221)
HSLhsl(250, 67%, 59%)
HSVhsv(250, 63%, 87%)
CMYKcmyk(52.9%, 63.3%, 0%, 13.3%)
CIE-LABlab(44.30, 45.67, -68.62)
CIE-LCHlch(44.30, 82.42, 303.65°)
OKLaboklab(53.92% 0.052 -0.1969)
OKLCHoklch(53.92% 0.204 284.8)
XYZxyz(21.6986, 14.0472, 69.9606)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851DD #C6DD51
analogous
#5180DD #6851DD #AE51DD
triadic
#6851DD #DD6851 #51DD68
tetradic
#6851DD #DD5180 #C6DD51 #51DDAE
square
#6851DD #DD5180 #C6DD51 #51DDAE
split-complementary
#6851DD #DDAE51 #80DD51
monochromatic
#311D96 #4227C9 #6851DD #9484E7 #C1B7F1

Accessibility & contrast

On white

5.51
#6851DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6851DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851DD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851DD#FFFFFF#000000##FFFFFF
##6851DD1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#377390
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6851dd;
/* rgb */ color: rgb(104, 81, 221);
/* oklch */ color: oklch(53.9% 0.204 284.8);
Tailwind
colors: {
  custom: {
    50: '#9d83e9',
    500: '#6851dd',
    950: '#000000',
  },
}
SCSS
$custom: #6851dd;
$custom-light: #9d83e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6851dd",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 249.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53916,
    "c": 0.20368,
    "h": 284.8
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#6851DD
secondary
#D7E0AA
accent
#EA3ECE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851DD

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

Preview Lab → · Contrast checker → · Palette generator →

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