#6871CC#6871CC

#6871CC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.138 H 277.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6871CC
RGBrgb(104, 113, 204)
HSLhsl(235, 50%, 60%)
HSVhsv(235, 49%, 80%)
CMYKcmyk(49%, 44.6%, 0%, 20%)
CIE-LABlab(50.82, 21.34, -48.42)
CIE-LCHlch(50.82, 52.91, 293.79°)
OKLaboklab(58.41% 0.0168 -0.1374)
OKLCHoklch(58.41% 0.138 277)
XYZxyz(22.5097, 19.1117, 59.6178)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871CC #CCC368
analogous
#68A3CC #6871CC #9168CC
triadic
#6871CC #CC6871 #71CC68
tetradic
#6871CC #CC68A3 #CCC368 #68CC91
square
#6871CC #CC68A3 #CCC368 #68CC91
split-complementary
#6871CC #CC9168 #A3CC68
monochromatic
#2F378B #3E49B8 #6871CC #969CDB #C3C7EB

Accessibility & contrast

On white

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

On black

4.82
#6871CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871CC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871CC#FFFFFF#000000##000000
##6871CC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DCF
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#418494
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6871cc;
/* rgb */ color: rgb(104, 113, 204);
/* oklch */ color: oklch(58.4% 0.138 277.0);
Tailwind
colors: {
  custom: {
    50: '#9999dc',
    500: '#6871cc',
    950: '#000000',
  },
}
SCSS
$custom: #6871cc;
$custom-light: #9999dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6871cc",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 234.6,
    "s": 49.505,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.13842,
    "h": 277
  },
  "luminance": 0.19113
}

Semantic roles & 50–950 ramp

primary
#6871CC
secondary
#DBD8B5
accent
#AF29BD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871CC

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

Preview Lab → · Contrast checker → · Palette generator →

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