#6871BC#6871BC

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

Color values

HEX#6871BC
RGBrgb(104, 113, 188)
HSLhsl(234, 39%, 57%)
HSVhsv(234, 45%, 74%)
CMYKcmyk(44.7%, 39.9%, 0%, 26.3%)
CIE-LABlab(49.96, 16.47, -40.61)
CIE-LCHlch(49.96, 43.82, 292.08°)
OKLaboklab(57.48% 0.0139 -0.1145)
OKLCHoklch(57.48% 0.115 276.9)
XYZxyz(20.6884, 18.3831, 50.0254)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871BC #BCB368
analogous
#689BBC #6871BC #8968BC
triadic
#6871BC #BC6871 #71BC68
tetradic
#6871BC #BC689B #BCB368 #68BC89
square
#6871BC #BC689B #BCB368 #68BC89
split-complementary
#6871BC #BC8968 #9BBC68
monochromatic
#343B75 #4750A0 #6871BC #9299CF #BDC1E2

Accessibility & contrast

On white

4.49
#6871BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6871BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871BC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871BC#FFFFFF#000000##000000
##6871BC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABF
Deuteranopia (green-blind)
#4F74BA
Tritanopia (blue-blind)
#4B808D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6871bc;
/* rgb */ color: rgb(104, 113, 188);
/* oklch */ color: oklch(57.5% 0.115 276.9);
Tailwind
colors: {
  custom: {
    50: '#9799d0',
    500: '#6871bc',
    950: '#000000',
  },
}
SCSS
$custom: #6871bc;
$custom-light: #9799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6871bc",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 233.571,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.1154,
    "h": 276.9
  },
  "luminance": 0.18384
}

Semantic roles & 50–950 ramp

primary
#6871BC
secondary
#D1CDAF
accent
#C259CE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6871BC

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

Preview Lab → · Contrast checker → · Palette generator →

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