#6871BB#6871BB

#6871BB is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.4% C 0.114 H 276.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6871BB
RGBrgb(104, 113, 187)
HSLhsl(233, 38%, 57%)
HSVhsv(233, 44%, 73%)
CMYKcmyk(44.4%, 39.6%, 0%, 26.7%)
CIE-LABlab(49.91, 16.17, -40.11)
CIE-LCHlch(49.91, 43.25, 291.96°)
OKLaboklab(57.42% 0.0137 -0.1131)
OKLCHoklch(57.42% 0.114 276.9)
XYZxyz(20.5810, 18.3401, 49.4596)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871BB #BBB268
analogous
#689BBB #6871BB #8968BB
triadic
#6871BB #BB6871 #71BB68
tetradic
#6871BB #BB689B #BBB268 #68BB89
square
#6871BB #BB689B #BBB268 #68BB89
split-complementary
#6871BB #BB8968 #9BBB68
monochromatic
#343B74 #47519E #6871BB #9299CE #BCC0E1

Accessibility & contrast

On white

4.50
#6871BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6871BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871BB#FFFFFF#000000##000000
##6871BB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#4C808D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6871bb;
/* rgb */ color: rgb(104, 113, 187);
/* oklch */ color: oklch(57.4% 0.114 276.9);
Tailwind
colors: {
  custom: {
    50: '#9799d0',
    500: '#6871bb',
    950: '#000000',
  },
}
SCSS
$custom: #6871bb;
$custom-light: #9799d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6871bb",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 233.494,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.11394,
    "h": 276.9
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#6871BB
secondary
#D0CDAF
accent
#C15ACE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6871BB

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

Preview Lab → · Contrast checker → · Palette generator →

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