#6854CE#6854CE

#6854CE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.181 H 286.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6854CE
RGBrgb(104, 84, 206)
HSLhsl(250, 55%, 57%)
HSVhsv(250, 59%, 81%)
CMYKcmyk(49.5%, 59.2%, 0%, 19.2%)
CIE-LABlab(43.86, 39.48, -60.75)
CIE-LCHlch(43.86, 72.45, 303.02°)
OKLaboklab(53.25% 0.0499 -0.1738)
OKLCHoklch(53.25% 0.181 286)
XYZxyz(20.0165, 13.7390, 59.9777)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854CE #BACE54
analogous
#547DCE #6854CE #A554CE
triadic
#6854CE #CE6854 #54CE68
tetradic
#6854CE #CE547D #BACE54 #54CEA5
square
#6854CE #CE547D #BACE54 #54CEA5
split-complementary
#6854CE #CEA554 #7DCE54
monochromatic
#352582 #4833B2 #6854CE #9284DC #BCB3E9

Accessibility & contrast

On white

5.60
#6854CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6854CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854CE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854CE#FFFFFF#000000##FFFFFF
##6854CE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#437089
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6854ce;
/* rgb */ color: rgb(104, 84, 206);
/* oklch */ color: oklch(53.2% 0.181 286.0);
Tailwind
colors: {
  custom: {
    50: '#9b85de',
    500: '#6854ce',
    950: '#000000',
  },
}
SCSS
$custom: #6854ce;
$custom-light: #9b85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6854ce",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 249.836,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.18082,
    "h": 286
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#6854CE
secondary
#D0D8A6
accent
#DF49C6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6854CE

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

Preview Lab → · Contrast checker → · Palette generator →

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