#6855DC#6855DC

#6855DC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.5% C 0.197 H 284.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6855DC
RGBrgb(104, 85, 220)
HSLhsl(248, 66%, 60%)
HSVhsv(248, 61%, 86%)
CMYKcmyk(52.7%, 61.4%, 0%, 13.7%)
CIE-LABlab(45.09, 43.08, -66.76)
CIE-LCHlch(45.09, 79.45, 302.83°)
OKLaboklab(54.47% 0.0482 -0.1915)
OKLCHoklch(54.47% 0.197 284.1)
XYZxyz(21.8718, 14.6061, 69.3630)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6855DC #C9DC55
analogous
#5586DC #6855DC #AB55DC
triadic
#6855DC #DC6855 #55DC68
tetradic
#6855DC #DC5586 #C9DC55 #55DCAB
square
#6855DC #DC5586 #C9DC55 #55DCAB
split-complementary
#6855DC #DCAB55 #86DC55
monochromatic
#301F97 #402ACA #6855DC #9588E6 #C2BBF1

Accessibility & contrast

On white

5.36
#6855DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6855DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6855DC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6855DC#FFFFFF#000000##FFFFFF
##6855DC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#387590
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6855dc;
/* rgb */ color: rgb(104, 85, 220);
/* oklch */ color: oklch(54.5% 0.197 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c86e8',
    500: '#6855dc',
    950: '#000000',
  },
}
SCSS
$custom: #6855dc;
$custom-light: #9c86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6855dc",
  "rgb": {
    "r": 104,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 248.444,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.19745,
    "h": 284.1
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#6855DC
secondary
#D9E0AC
accent
#E93FD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6855DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6855DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva