#6871BD#6871BD

#6871BD is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.5% C 0.117 H 277.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6871BD
RGBrgb(104, 113, 189)
HSLhsl(234, 39%, 57%)
HSVhsv(234, 45%, 74%)
CMYKcmyk(45%, 40.2%, 0%, 25.9%)
CIE-LABlab(50.01, 16.77, -41.10)
CIE-LCHlch(50.01, 44.39, 292.20°)
OKLaboklab(57.54% 0.0141 -0.116)
OKLCHoklch(57.54% 0.117 277)
XYZxyz(20.7966, 18.4264, 50.5951)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871BD #BDB468
analogous
#689CBD #6871BD #8968BD
triadic
#6871BD #BD6871 #71BD68
tetradic
#6871BD #BD689C #BDB468 #68BD89
square
#6871BD #BD689C #BDB468 #68BD89
split-complementary
#6871BD #BD8968 #9CBD68
monochromatic
#343B77 #4750A1 #6871BD #9399D0 #BDC1E2

Accessibility & contrast

On white

4.48
#6871BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6871BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871BD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871BD#FFFFFF#000000##000000
##6871BD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557AC0
Deuteranopia (green-blind)
#4E74BB
Tritanopia (blue-blind)
#4B818E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6871bd;
/* rgb */ color: rgb(104, 113, 189);
/* oklch */ color: oklch(57.5% 0.117 277.0);
Tailwind
colors: {
  custom: {
    50: '#9799d1',
    500: '#6871bd',
    950: '#000000',
  },
}
SCSS
$custom: #6871bd;
$custom-light: #9799d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6871bd",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 233.647,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.11685,
    "h": 277
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#6871BD
secondary
#D2CEAF
accent
#C359CF
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6871BD

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

Preview Lab → · Contrast checker → · Palette generator →

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