#6871CF#6871CF

#6871CF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.143 H 276.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6871CF
RGBrgb(104, 113, 207)
HSLhsl(235, 52%, 61%)
HSVhsv(235, 50%, 81%)
CMYKcmyk(49.8%, 45.4%, 0%, 18.8%)
CIE-LABlab(50.99, 22.27, -49.86)
CIE-LCHlch(50.99, 54.60, 294.07°)
OKLaboklab(58.6% 0.0172 -0.1416)
OKLCHoklch(58.6% 0.143 276.9)
XYZxyz(22.8730, 19.2570, 61.5311)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871CF #CFC668
analogous
#68A4CF #6871CF #9268CF
triadic
#6871CF #CF6871 #71CF68
tetradic
#6871CF #CF68A4 #CFC668 #68CF92
square
#6871CF #CF68A4 #CFC668 #68CF92
split-complementary
#6871CF #CF9268 #A4CF68
monochromatic
#2D368F #3C48BE #6871CF #969DDE #C5C8ED

Accessibility & contrast

On white

4.33
#6871CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6871CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871CF#FFFFFF#000000##000000
##6871CF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED2
Deuteranopia (green-blind)
#4075CD
Tritanopia (blue-blind)
#3F8596
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6871cf;
/* rgb */ color: rgb(104, 113, 207);
/* oklch */ color: oklch(58.6% 0.143 276.9);
Tailwind
colors: {
  custom: {
    50: '#9999de',
    500: '#6871cf',
    950: '#000000',
  },
}
SCSS
$custom: #6871cf;
$custom-light: #9999de;
$custom-dark: #000000;
JSON
{
  "hex": "#6871cf",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 234.757,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.14266,
    "h": 276.9
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#6871CF
secondary
#DDD9B6
accent
#B226BF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871CF

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

Preview Lab → · Contrast checker → · Palette generator →

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