#6851E1#6851E1

#6851E1 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.209 H 284.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6851E1
RGBrgb(104, 81, 225)
HSLhsl(250, 71%, 60%)
HSVhsv(250, 64%, 88%)
CMYKcmyk(53.8%, 64%, 0%, 11.8%)
CIE-LABlab(44.61, 46.86, -70.39)
CIE-LCHlch(44.61, 84.56, 303.65°)
OKLaboklab(54.24% 0.0516 -0.2022)
OKLCHoklch(54.24% 0.209 284.3)
XYZxyz(22.2378, 14.2629, 72.8008)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851E1 #CAE151
analogous
#5182E1 #6851E1 #B051E1
triadic
#6851E1 #E16851 #51E168
tetradic
#6851E1 #E15182 #CAE151 #51E1B0
square
#6851E1 #E15182 #CAE151 #51E1B0
split-complementary
#6851E1 #E1B051 #82E151
monochromatic
#301B9D #4024D1 #6851E1 #9585EA #C3B9F3

Accessibility & contrast

On white

5.45
#6851E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6851E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851E1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851E1#FFFFFF#000000##FFFFFF
##6851E11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0065DE
Tritanopia (blue-blind)
#337592
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6851e1;
/* rgb */ color: rgb(104, 81, 225);
/* oklch */ color: oklch(54.2% 0.209 284.3);
Tailwind
colors: {
  custom: {
    50: '#9d83eb',
    500: '#6851e1',
    950: '#000000',
  },
}
SCSS
$custom: #6851e1;
$custom-light: #9d83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6851e1",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 249.583,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.54235,
    "c": 0.20863,
    "h": 284.3
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#6851E1
secondary
#DAE3AB
accent
#ED3AD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851E1

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

Preview Lab → · Contrast checker → · Palette generator →

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