#6856CE#6856CE

#6856CE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.6% C 0.178 H 285.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6856CE
RGBrgb(104, 86, 206)
HSLhsl(249, 55%, 57%)
HSVhsv(249, 58%, 81%)
CMYKcmyk(49.5%, 58.3%, 0%, 19.2%)
CIE-LABlab(44.31, 38.30, -60.01)
CIE-LCHlch(44.31, 71.19, 302.54°)
OKLaboklab(53.58% 0.0477 -0.1716)
OKLCHoklch(53.58% 0.178 285.5)
XYZxyz(20.1740, 14.0539, 60.0302)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856CE #BCCE56
analogous
#5680CE #6856CE #A456CE
triadic
#6856CE #CE6856 #56CE68
tetradic
#6856CE #CE5680 #BCCE56 #56CEA4
square
#6856CE #CE5680 #BCCE56 #56CEA4
split-complementary
#6856CE #CEA456 #80CE56
monochromatic
#342683 #4734B3 #6856CE #9285DC #BDB5EA

Accessibility & contrast

On white

5.51
#6856CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6856CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856CE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856CE#FFFFFF#000000##FFFFFF
##6856CE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#43728A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6856ce;
/* rgb */ color: rgb(104, 86, 206);
/* oklch */ color: oklch(53.6% 0.178 285.5);
Tailwind
colors: {
  custom: {
    50: '#9b86de',
    500: '#6856ce',
    950: '#000000',
  },
}
SCSS
$custom: #6856ce;
$custom-light: #9b86de;
$custom-dark: #000000;
JSON
{
  "hex": "#6856ce",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 249,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.17815,
    "h": 285.5
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#6856CE
secondary
#D1D8A8
accent
#DE49C8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6856CE

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

Preview Lab → · Contrast checker → · Palette generator →

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