#6871CE#6871CE

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

Color values

HEX#6871CE
RGBrgb(104, 113, 206)
HSLhsl(235, 51%, 61%)
HSVhsv(235, 50%, 81%)
CMYKcmyk(49.5%, 45.1%, 0%, 19.2%)
CIE-LABlab(50.93, 21.96, -49.38)
CIE-LCHlch(50.93, 54.04, 293.98°)
OKLaboklab(58.54% 0.0171 -0.1402)
OKLCHoklch(58.54% 0.141 276.9)
XYZxyz(22.7512, 19.2082, 60.8893)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871CE #CEC568
analogous
#68A4CE #6871CE #9268CE
triadic
#6871CE #CE6871 #71CE68
tetradic
#6871CE #CE68A4 #CEC568 #68CE92
square
#6871CE #CE68A4 #CEC568 #68CE92
split-complementary
#6871CE #CE9268 #A4CE68
monochromatic
#2E368E #3D48BC #6871CE #969CDD #C4C8EC

Accessibility & contrast

On white

4.34
#6871CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#6871CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871CE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871CE#FFFFFF#000000##000000
##6871CE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ED1
Deuteranopia (green-blind)
#4175CC
Tritanopia (blue-blind)
#408595
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6871ce;
/* rgb */ color: rgb(104, 113, 206);
/* oklch */ color: oklch(58.5% 0.141 276.9);
Tailwind
colors: {
  custom: {
    50: '#9999dd',
    500: '#6871ce',
    950: '#000000',
  },
}
SCSS
$custom: #6871ce;
$custom-light: #9999dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6871ce",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 234.706,
    "s": 51,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.14124,
    "h": 276.9
  },
  "luminance": 0.1921
}

Semantic roles & 50–950 ramp

primary
#6871CE
secondary
#DCD9B6
accent
#B127BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871CE

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

Preview Lab → · Contrast checker → · Palette generator →

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