#6856CD#6856CD

#6856CD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.177 H 285.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6856CD
RGBrgb(104, 86, 205)
HSLhsl(249, 54%, 57%)
HSVhsv(249, 58%, 80%)
CMYKcmyk(49.3%, 58%, 0%, 19.6%)
CIE-LABlab(44.24, 38.00, -59.55)
CIE-LCHlch(44.24, 70.64, 302.54°)
OKLaboklab(53.51% 0.0478 -0.1703)
OKLCHoklch(53.51% 0.177 285.7)
XYZxyz(20.0529, 14.0054, 59.3925)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6856CD #BBCD56
analogous
#567FCD #6856CD #A456CD
triadic
#6856CD #CD6856 #56CD68
tetradic
#6856CD #CD567F #BBCD56 #56CDA4
square
#6856CD #CD567F #BBCD56 #56CDA4
split-complementary
#6856CD #CDA456 #7FCD56
monochromatic
#342682 #4734B1 #6856CD #9285DB #BCB4E9

Accessibility & contrast

On white

5.52
#6856CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6856CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6856CD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6856CD#FFFFFF#000000##FFFFFF
##6856CD1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#447189
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6856cd;
/* rgb */ color: rgb(104, 86, 205);
/* oklch */ color: oklch(53.5% 0.177 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a86dd',
    500: '#6856cd',
    950: '#000000',
  },
}
SCSS
$custom: #6856cd;
$custom-light: #9a86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6856cd",
  "rgb": {
    "r": 104,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 249.076,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.17684,
    "h": 285.7
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

primary
#6856CD
secondary
#D0D8A7
accent
#DE4AC7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6856CD

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

Preview Lab → · Contrast checker → · Palette generator →

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