#6871CD#6871CD

#6871CD is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.140 H 276.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6871CD
RGBrgb(104, 113, 205)
HSLhsl(235, 50%, 61%)
HSVhsv(235, 49%, 80%)
CMYKcmyk(49.3%, 44.9%, 0%, 19.6%)
CIE-LABlab(50.87, 21.65, -48.90)
CIE-LCHlch(50.87, 53.48, 293.88°)
OKLaboklab(58.48% 0.0169 -0.1388)
OKLCHoklch(58.48% 0.14 276.9)
XYZxyz(22.6301, 19.1598, 60.2515)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871CD #CDC468
analogous
#68A4CD #6871CD #9168CD
triadic
#6871CD #CD6871 #71CD68
tetradic
#6871CD #CD68A4 #CDC468 #68CD91
square
#6871CD #CD68A4 #CDC468 #68CD91
split-complementary
#6871CD #CD9168 #A4CD68
monochromatic
#2E378C #3E49BA #6871CD #969CDC #C4C7EB

Accessibility & contrast

On white

4.35
#6871CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6871CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871CD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871CD#FFFFFF#000000##000000
##6871CD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#408595
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6871cd;
/* rgb */ color: rgb(104, 113, 205);
/* oklch */ color: oklch(58.5% 0.140 276.9);
Tailwind
colors: {
  custom: {
    50: '#9999dd',
    500: '#6871cd',
    950: '#000000',
  },
}
SCSS
$custom: #6871cd;
$custom-light: #9999dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6871cd",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 234.653,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58476,
    "c": 0.13984,
    "h": 276.9
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#6871CD
secondary
#DCD8B5
accent
#B028BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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