#6856EF#6856EF

#6856EF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.1% C 0.220 H 282.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6856EF
RGBrgb(104, 86, 239)
HSLhsl(247, 83%, 64%)
HSVhsv(247, 64%, 94%)
CMYKcmyk(56.5%, 64%, 0%, 6.3%)
CIE-LABlab(46.75, 48.22, -74.81)
CIE-LCHlch(46.75, 89.00, 302.81°)
OKLaboklab(56.13% 0.0457 -0.2151)
OKLCHoklch(56.13% 0.22 282)
XYZxyz(24.6119, 15.8290, 83.4030)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856EF #DDEF56
analogous
#5690EF #6856EF #B456EF
triadic
#6856EF #EF6856 #56EF68
tetradic
#6856EF #EF5690 #DDEF56 #56EFB4
square
#6856EF #EF5690 #DDEF56 #56EFB4
split-complementary
#6856EF #EFB456 #90EF56
monochromatic
#2512B9 #361EEA #6856EF #9A8EF4 #CCC6FA

Accessibility & contrast

On white

5.04
#6856EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6856EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856EF#FFFFFF#000000##FFFFFF
##6856EF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#1D7C9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6856ef;
/* rgb */ color: rgb(104, 86, 239);
/* oklch */ color: oklch(56.1% 0.220 282.0);
Tailwind
colors: {
  custom: {
    50: '#9f87f5',
    500: '#6856ef',
    950: '#000000',
  },
}
SCSS
$custom: #6856ef;
$custom-light: #9f87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6856ef",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 247.059,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.21991,
    "h": 282
  },
  "luminance": 0.15831
}

Semantic roles & 50–950 ramp

primary
#6856EF
secondary
#E5EBB5
accent
#DF06C6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6856EF

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

Preview Lab → · Contrast checker → · Palette generator →

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