#6851FC#6851FC

#6851FC is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.5% C 0.241 H 281.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6851FC
RGBrgb(104, 81, 252)
HSLhsl(248, 97%, 65%)
HSVhsv(248, 68%, 99%)
CMYKcmyk(58.7%, 67.9%, 0%, 1.2%)
CIE-LABlab(46.78, 54.86, -82.03)
CIE-LCHlch(46.78, 98.68, 303.77°)
OKLaboklab(56.48% 0.0481 -0.2363)
OKLCHoklch(56.48% 0.241 281.5)
XYZxyz(26.2165, 15.8544, 93.7553)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6851FC #E5FC51
analogous
#5190FC #6851FC #BD51FC
triadic
#6851FC #FC6851 #51FC68
tetradic
#6851FC #FC5190 #E5FC51 #51FCBD
square
#6851FC #FC5190 #E5FC51 #51FCBD
split-complementary
#6851FC #FCBD51 #90FC51
monochromatic
#1F04CF #3415FB #6851FC #9C8DFD #D0C9FE

Accessibility & contrast

On white

5.03
#6851FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6851FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6851FC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6851FC#FFFFFF#000000##FFFFFF
##6851FC1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0069F9
Tritanopia (blue-blind)
#007EA0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6851fc;
/* rgb */ color: rgb(104, 81, 252);
/* oklch */ color: oklch(56.5% 0.241 281.5);
Tailwind
colors: {
  custom: {
    50: '#a284ff',
    500: '#6851fc',
    950: '#000000',
  },
}
SCSS
$custom: #6851fc;
$custom-light: #a284ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6851fc",
  "rgb": {
    "r": 104,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 248.07,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.24114,
    "h": 281.5
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#6851FC
secondary
#E9F1B8
accent
#E600C7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6851FC

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

Preview Lab → · Contrast checker → · Palette generator →

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