#6856EB#6856EB

#6856EB is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.215 H 282.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6856EB
RGBrgb(104, 86, 235)
HSLhsl(247, 79%, 63%)
HSVhsv(247, 63%, 92%)
CMYKcmyk(55.7%, 63.4%, 0%, 7.8%)
CIE-LABlab(46.44, 47.02, -73.06)
CIE-LCHlch(46.44, 86.88, 302.76°)
OKLaboklab(55.81% 0.0461 -0.21)
OKLCHoklch(55.81% 0.215 282.4)
XYZxyz(24.0275, 15.5953, 80.3252)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856EB #D9EB56
analogous
#568FEB #6856EB #B256EB
triadic
#6856EB #EB6856 #56EB68
tetradic
#6856EB #EB568F #D9EB56 #56EBB2
square
#6856EB #EB568F #D9EB56 #56EBB2
split-complementary
#6856EB #EBB256 #8FEB56
monochromatic
#2815B2 #371FE5 #6856EB #998DF1 #CAC3F8

Accessibility & contrast

On white

5.10
#6856EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6856EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856EB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856EB#FFFFFF#000000##FFFFFF
##6856EB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#257B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6856eb;
/* rgb */ color: rgb(104, 86, 235);
/* oklch */ color: oklch(55.8% 0.215 282.4);
Tailwind
colors: {
  custom: {
    50: '#9f87f2',
    500: '#6856eb',
    950: '#000000',
  },
}
SCSS
$custom: #6856eb;
$custom-light: #9f87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6856eb",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 247.248,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.21499,
    "h": 282.4
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#6856EB
secondary
#E3E9B4
accent
#DB0AC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6856EB

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

Preview Lab → · Contrast checker → · Palette generator →

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