#6856E3#6856E3

#6856E3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.205 H 283.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6856E3
RGBrgb(104, 86, 227)
HSLhsl(248, 72%, 61%)
HSVhsv(248, 62%, 89%)
CMYKcmyk(54.2%, 62.1%, 0%, 11%)
CIE-LABlab(45.83, 44.61, -69.53)
CIE-LCHlch(45.83, 82.61, 302.68°)
OKLaboklab(55.17% 0.0467 -0.1996)
OKLCHoklch(55.17% 0.205 283.2)
XYZxyz(22.8976, 15.1433, 74.3745)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856E3 #D1E356
analogous
#568BE3 #6856E3 #AF56E3
triadic
#6856E3 #E36856 #56E368
tetradic
#6856E3 #E3568B #D1E356 #56E3AF
square
#6856E3 #E3568B #D1E356 #56E3AF
split-complementary
#6856E3 #E3AF56 #8BE356
monochromatic
#2D1BA4 #3B24D8 #6856E3 #978BEC #C6BFF4

Accessibility & contrast

On white

5.21
#6856E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6856E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856E3
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856E3#FFFFFF#000000##FFFFFF
##6856E31.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#307895
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6856e3;
/* rgb */ color: rgb(104, 86, 227);
/* oklch */ color: oklch(55.2% 0.205 283.2);
Tailwind
colors: {
  custom: {
    50: '#9d86ed',
    500: '#6856e3',
    950: '#000000',
  },
}
SCSS
$custom: #6856e3;
$custom-light: #9d86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6856e3",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 247.66,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55172,
    "c": 0.20503,
    "h": 283.2
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#6856E3
secondary
#DEE5B0
accent
#D412BB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6856E3

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

Preview Lab → · Contrast checker → · Palette generator →

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