#6854DC#6854DC

#6854DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.3% C 0.199 H 284.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6854DC
RGBrgb(104, 84, 220)
HSLhsl(249, 66%, 60%)
HSVhsv(249, 62%, 86%)
CMYKcmyk(52.7%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.87, 43.66, -67.12)
CIE-LCHlch(44.87, 80.07, 303.04°)
OKLaboklab(54.31% 0.0492 -0.1925)
OKLCHoklch(54.31% 0.199 284.3)
XYZxyz(21.7936, 14.4498, 69.3370)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854DC #C8DC54
analogous
#5484DC #6854DC #AC54DC
triadic
#6854DC #DC6854 #54DC68
tetradic
#6854DC #DC5484 #C8DC54 #54DCAC
square
#6854DC #DC5484 #C8DC54 #54DCAC
split-complementary
#6854DC #DCAC54 #84DC54
monochromatic
#301F97 #4129CA #6854DC #9587E6 #C2BAF1

Accessibility & contrast

On white

5.40
#6854DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6854DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854DC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854DC#FFFFFF#000000##FFFFFF
##6854DC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6854dc;
/* rgb */ color: rgb(104, 84, 220);
/* oklch */ color: oklch(54.3% 0.199 284.3);
Tailwind
colors: {
  custom: {
    50: '#9d85e8',
    500: '#6854dc',
    950: '#000000',
  },
}
SCSS
$custom: #6854dc;
$custom-light: #9d85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6854dc",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 248.824,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.19871,
    "h": 284.3
  },
  "luminance": 0.14451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6854DC

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

Preview Lab → · Contrast checker → · Palette generator →

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