#6856DC#6856DC

#6856DC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.196 H 283.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6856DC
RGBrgb(104, 86, 220)
HSLhsl(248, 66%, 60%)
HSVhsv(248, 61%, 86%)
CMYKcmyk(52.7%, 60.9%, 0%, 13.7%)
CIE-LABlab(45.31, 42.50, -66.40)
CIE-LCHlch(45.31, 78.84, 302.62°)
OKLaboklab(54.63% 0.0472 -0.1904)
OKLCHoklch(54.63% 0.196 283.9)
XYZxyz(21.9511, 14.7647, 69.3895)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856DC #CADC56
analogous
#5687DC #6856DC #AB56DC
triadic
#6856DC #DC6856 #56DC68
tetradic
#6856DC #DC5687 #CADC56 #56DCAB
square
#6856DC #DC5687 #CADC56 #56DCAB
split-complementary
#6856DC #DCAB56 #87DC56
monochromatic
#302098 #402ACB #6856DC #9589E6 #C3BBF1

Accessibility & contrast

On white

5.31
#6856DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6856DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856DC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856DC#FFFFFF#000000##FFFFFF
##6856DC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#377691
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6856dc;
/* rgb */ color: rgb(104, 86, 220);
/* oklch */ color: oklch(54.6% 0.196 283.9);
Tailwind
colors: {
  custom: {
    50: '#9c86e8',
    500: '#6856dc',
    950: '#000000',
  },
}
SCSS
$custom: #6856dc;
$custom-light: #9c86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6856dc",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 248.06,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.19619,
    "h": 283.9
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

primary
#6856DC
secondary
#DAE1AD
accent
#E93FD2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6856DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6856DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva