#6854DD#6854DD

#6854DD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.4% C 0.200 H 284.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6854DD
RGBrgb(104, 84, 221)
HSLhsl(249, 67%, 60%)
HSVhsv(249, 62%, 87%)
CMYKcmyk(52.9%, 62%, 0%, 13.3%)
CIE-LABlab(44.95, 43.96, -67.57)
CIE-LCHlch(44.95, 80.60, 303.05°)
OKLaboklab(54.39% 0.0491 -0.1938)
OKLCHoklch(54.39% 0.2 284.2)
XYZxyz(21.9264, 14.5029, 70.0366)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854DD #C9DD54
analogous
#5485DD #6854DD #AC54DD
triadic
#6854DD #DD6854 #54DD68
tetradic
#6854DD #DD5485 #C9DD54 #54DDAC
square
#6854DD #DD5485 #C9DD54 #54DDAC
split-complementary
#6854DD #DDAC54 #85DD54
monochromatic
#301E98 #4028CB #6854DD #9587E7 #C2BAF1

Accessibility & contrast

On white

5.38
#6854DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6854DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854DD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854DD#FFFFFF#000000##FFFFFF
##6854DD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#377591
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6854dd;
/* rgb */ color: rgb(104, 84, 221);
/* oklch */ color: oklch(54.4% 0.200 284.2);
Tailwind
colors: {
  custom: {
    50: '#9d85e9',
    500: '#6854dd',
    950: '#000000',
  },
}
SCSS
$custom: #6854dd;
$custom-light: #9d85e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6854dd",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 248.759,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.19997,
    "h": 284.2
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#6854DD
secondary
#D9E1AC
accent
#EA3ED1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6854DD

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

Preview Lab → · Contrast checker → · Palette generator →

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