#6854DB#6854DB

#6854DB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.2% C 0.197 H 284.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6854DB
RGBrgb(104, 84, 219)
HSLhsl(249, 65%, 59%)
HSVhsv(249, 62%, 86%)
CMYKcmyk(52.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(44.80, 43.36, -66.67)
CIE-LCHlch(44.80, 79.53, 303.04°)
OKLaboklab(54.23% 0.0492 -0.1912)
OKLCHoklch(54.23% 0.197 284.4)
XYZxyz(21.6616, 14.3970, 68.6416)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854DB #C7DB54
analogous
#5484DB #6854DB #AC54DB
triadic
#6854DB #DB6854 #54DB68
tetradic
#6854DB #DB5484 #C7DB54 #54DBAC
square
#6854DB #DB5484 #C7DB54 #54DBAC
split-complementary
#6854DB #DBAC54 #84DB54
monochromatic
#311F95 #412AC8 #6854DB #9587E6 #C1B9F0

Accessibility & contrast

On white

5.41
#6854DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6854DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854DB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854DB#FFFFFF#000000##FFFFFF
##6854DB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#397490
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6854db;
/* rgb */ color: rgb(104, 84, 219);
/* oklch */ color: oklch(54.2% 0.197 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c85e7',
    500: '#6854db',
    950: '#000000',
  },
}
SCSS
$custom: #6854db;
$custom-light: #9c85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6854db",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 248.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.19744,
    "h": 284.4
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#6854DB
secondary
#D8E0AB
accent
#E840CF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6854DB

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

Preview Lab → · Contrast checker → · Palette generator →

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