#6851E8#6851E8

#6851E8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.8% C 0.217 H 283.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6851E8
RGBrgb(104, 81, 232)
HSLhsl(249, 77%, 61%)
HSVhsv(249, 65%, 91%)
CMYKcmyk(55.2%, 65.1%, 0%, 9%)
CIE-LABlab(45.15, 48.94, -73.46)
CIE-LCHlch(45.15, 88.27, 303.67°)
OKLaboklab(54.8% 0.0508 -0.2112)
OKLCHoklch(54.8% 0.217 283.5)
XYZxyz(23.2124, 14.6527, 77.9334)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851E8 #D1E851
analogous
#5186E8 #6851E8 #B451E8
triadic
#6851E8 #E86851 #51E868
tetradic
#6851E8 #E85186 #D1E851 #51E8B4
square
#6851E8 #E85186 #D1E851 #51E8B4
split-complementary
#6851E8 #E8B451 #86E851
monochromatic
#2D16A8 #3B1DDE #6851E8 #9787EF #C6BDF6

Accessibility & contrast

On white

5.34
#6851E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6851E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851E8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851E8#FFFFFF#000000##FFFFFF
##6851E81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#2A7796
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6851e8;
/* rgb */ color: rgb(104, 81, 232);
/* oklch */ color: oklch(54.8% 0.217 283.5);
Tailwind
colors: {
  custom: {
    50: '#9e83f0',
    500: '#6851e8',
    950: '#000000',
  },
}
SCSS
$custom: #6851e8;
$custom-light: #9e83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6851e8",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 249.139,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.21722,
    "h": 283.5
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#6851E8
secondary
#DEE7AE
accent
#D90DBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6851E8

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

Preview Lab → · Contrast checker → · Palette generator →

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