#6851E3#6851E3

#6851E3 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.211 H 284.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6851E3
RGBrgb(104, 81, 227)
HSLhsl(249, 72%, 60%)
HSVhsv(249, 64%, 89%)
CMYKcmyk(54.2%, 64.3%, 0%, 11%)
CIE-LABlab(44.76, 47.45, -71.27)
CIE-LCHlch(44.76, 85.62, 303.65°)
OKLaboklab(54.4% 0.0514 -0.2047)
OKLCHoklch(54.4% 0.211 284.1)
XYZxyz(22.5123, 14.3727, 74.2461)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851E3 #CCE351
analogous
#5183E3 #6851E3 #B151E3
triadic
#6851E3 #E36851 #51E368
tetradic
#6851E3 #E35183 #CCE351 #51E3B1
square
#6851E3 #E35183 #CCE351 #51E3B1
split-complementary
#6851E3 #E3B151 #83E351
monochromatic
#2F1AA0 #3E22D5 #6851E3 #9686EB #C3BAF4

Accessibility & contrast

On white

5.42
#6851E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6851E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851E3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851E3#FFFFFF#000000##FFFFFF
##6851E31.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0065E0
Tritanopia (blue-blind)
#317593
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6851e3;
/* rgb */ color: rgb(104, 81, 227);
/* oklch */ color: oklch(54.4% 0.211 284.1);
Tailwind
colors: {
  custom: {
    50: '#9e83ed',
    500: '#6851e3',
    950: '#000000',
  },
}
SCSS
$custom: #6851e3;
$custom-light: #9e83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6851e3",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 249.452,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.21109,
    "h": 284.1
  },
  "luminance": 0.14374
}

Semantic roles & 50–950 ramp

primary
#6851E3
secondary
#DBE4AC
accent
#D411B6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6851E3

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

Preview Lab → · Contrast checker → · Palette generator →

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