#6854CD#6854CD

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

Color values

HEX#6854CD
RGBrgb(104, 84, 205)
HSLhsl(250, 55%, 57%)
HSVhsv(250, 59%, 80%)
CMYKcmyk(49.3%, 59%, 0%, 19.6%)
CIE-LABlab(43.79, 39.18, -60.29)
CIE-LCHlch(43.79, 71.90, 303.02°)
OKLaboklab(53.17% 0.0499 -0.1724)
OKLCHoklch(53.17% 0.18 286.1)
XYZxyz(19.8954, 13.6905, 59.3400)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6854CD #B9CD54
analogous
#547DCD #6854CD #A454CD
triadic
#6854CD #CD6854 #54CD68
tetradic
#6854CD #CD547D #B9CD54 #54CDA4
square
#6854CD #CD547D #B9CD54 #54CDA4
split-complementary
#6854CD #CDA454 #7DCD54
monochromatic
#352681 #4834B0 #6854CD #9283DB #BCB3E9

Accessibility & contrast

On white

5.62
#6854CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6854CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6854CD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6854CD#FFFFFF#000000##FFFFFF
##6854CD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#447088
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6854cd;
/* rgb */ color: rgb(104, 84, 205);
/* oklch */ color: oklch(53.2% 0.180 286.1);
Tailwind
colors: {
  custom: {
    50: '#9b85dd',
    500: '#6854cd',
    950: '#000000',
  },
}
SCSS
$custom: #6854cd;
$custom-light: #9b85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6854cd",
  "rgb": {
    "r": 104,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 249.917,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.17952,
    "h": 286.1
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#6854CD
secondary
#CFD7A6
accent
#DE4AC6
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6854CD

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

Preview Lab → · Contrast checker → · Palette generator →

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