#6871BF#6871BF

#6871BF is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.6% C 0.120 H 277.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6871BF
RGBrgb(104, 113, 191)
HSLhsl(234, 40%, 58%)
HSVhsv(234, 46%, 75%)
CMYKcmyk(45.5%, 40.8%, 0%, 25.1%)
CIE-LABlab(50.11, 17.37, -42.09)
CIE-LCHlch(50.11, 45.53, 292.43°)
OKLaboklab(57.65% 0.0145 -0.1189)
OKLCHoklch(57.65% 0.12 277)
XYZxyz(21.0151, 18.5138, 51.7463)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871BF #BFB668
analogous
#689CBF #6871BF #8A68BF
triadic
#6871BF #BF6871 #71BF68
tetradic
#6871BF #BF689C #BFB668 #68BF8A
square
#6871BF #BF689C #BFB668 #68BF8A
split-complementary
#6871BF #BF8A68 #9CBF68
monochromatic
#333B79 #464FA4 #6871BF #9399D1 #BEC2E3

Accessibility & contrast

On white

4.47
#6871BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6871BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871BF#FFFFFF#000000##000000
##6871BF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#4D74BD
Tritanopia (blue-blind)
#4A818F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6871bf;
/* rgb */ color: rgb(104, 113, 191);
/* oklch */ color: oklch(57.6% 0.120 277.0);
Tailwind
colors: {
  custom: {
    50: '#9799d3',
    500: '#6871bf',
    950: '#000000',
  },
}
SCSS
$custom: #6871bf;
$custom-light: #9799d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6871bf",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 233.793,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57649,
    "c": 0.11975,
    "h": 277
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#6871BF
secondary
#D3CFB0
accent
#C457D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6871BF

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

Preview Lab → · Contrast checker → · Palette generator →

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