#6851E2#6851E2

#6851E2 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.3% C 0.210 H 284.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6851E2
RGBrgb(104, 81, 226)
HSLhsl(250, 71%, 60%)
HSVhsv(250, 64%, 89%)
CMYKcmyk(54%, 64.2%, 0%, 11.4%)
CIE-LABlab(44.69, 47.15, -70.83)
CIE-LCHlch(44.69, 85.09, 303.65°)
OKLaboklab(54.32% 0.0515 -0.2035)
OKLCHoklch(54.32% 0.21 284.2)
XYZxyz(22.3746, 14.3176, 73.5213)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851E2 #CBE251
analogous
#5183E2 #6851E2 #B051E2
triadic
#6851E2 #E26851 #51E268
tetradic
#6851E2 #E25183 #CBE251 #51E2B0
square
#6851E2 #E25183 #CBE251 #51E2B0
split-complementary
#6851E2 #E2B051 #83E251
monochromatic
#2F1A9E #3F23D3 #6851E2 #9685EB #C3BAF3

Accessibility & contrast

On white

5.44
#6851E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6851E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851E2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851E2#FFFFFF#000000##FFFFFF
##6851E21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#327592
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6851e2;
/* rgb */ color: rgb(104, 81, 226);
/* oklch */ color: oklch(54.3% 0.210 284.2);
Tailwind
colors: {
  custom: {
    50: '#9e83ec',
    500: '#6851e2',
    950: '#000000',
  },
}
SCSS
$custom: #6851e2;
$custom-light: #9e83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6851e2",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 249.517,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54315,
    "c": 0.20987,
    "h": 284.2
  },
  "luminance": 0.14319
}

Semantic roles & 50–950 ramp

primary
#6851E2
secondary
#DAE3AC
accent
#D312B5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6851E2

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

Preview Lab → · Contrast checker → · Palette generator →

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