#6856CC#6856CC

#6856CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.176 H 285.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6856CC
RGBrgb(104, 86, 204)
HSLhsl(249, 54%, 57%)
HSVhsv(249, 58%, 80%)
CMYKcmyk(49%, 57.8%, 0%, 20%)
CIE-LABlab(44.17, 37.70, -59.09)
CIE-LCHlch(44.17, 70.09, 302.54°)
OKLaboklab(53.43% 0.0478 -0.1689)
OKLCHoklch(53.43% 0.176 285.8)
XYZxyz(19.9326, 13.9573, 58.7588)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856CC #BACC56
analogous
#567FCC #6856CC #A356CC
triadic
#6856CC #CC6856 #56CC68
tetradic
#6856CC #CC567F #BACC56 #56CCA3
square
#6856CC #CC567F #BACC56 #56CCA3
split-complementary
#6856CC #CCA356 #7FCC56
monochromatic
#352781 #4835B0 #6856CC #9285DA #BCB4E8

Accessibility & contrast

On white

5.54
#6856CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6856CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856CC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856CC#FFFFFF#000000##FFFFFF
##6856CC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#457189
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6856cc;
/* rgb */ color: rgb(104, 86, 204);
/* oklch */ color: oklch(53.4% 0.176 285.8);
Tailwind
colors: {
  custom: {
    50: '#9a86dc',
    500: '#6856cc',
    950: '#000000',
  },
}
SCSS
$custom: #6856cc;
$custom-light: #9a86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6856cc",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 249.153,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.17554,
    "h": 285.8
  },
  "luminance": 0.13958
}

Semantic roles & 50–950 ramp

primary
#6856CC
secondary
#D0D7A7
accent
#DD4BC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6856CC

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

Preview Lab → · Contrast checker → · Palette generator →

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