#6871BE#6871BE

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

Color values

HEX#6871BE
RGBrgb(104, 113, 190)
HSLhsl(234, 40%, 58%)
HSVhsv(234, 45%, 75%)
CMYKcmyk(45.3%, 40.5%, 0%, 25.5%)
CIE-LABlab(50.06, 17.07, -41.59)
CIE-LCHlch(50.06, 44.96, 292.31°)
OKLaboklab(57.59% 0.0143 -0.1174)
OKLCHoklch(57.59% 0.118 277)
XYZxyz(20.9055, 18.4699, 51.1687)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871BE #BEB568
analogous
#689CBE #6871BE #8A68BE
triadic
#6871BE #BE6871 #71BE68
tetradic
#6871BE #BE689C #BEB568 #68BE8A
square
#6871BE #BE689C #BEB568 #68BE8A
split-complementary
#6871BE #BE8A68 #9CBE68
monochromatic
#343B78 #4650A3 #6871BE #9399D0 #BEC1E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6871BE#FFFFFF#000000##000000
##6871BE1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#4A818E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6871be;
/* rgb */ color: rgb(104, 113, 190);
/* oklch */ color: oklch(57.6% 0.118 277.0);
Tailwind
colors: {
  custom: {
    50: '#9799d2',
    500: '#6871be',
    950: '#000000',
  },
}
SCSS
$custom: #6871be;
$custom-light: #9799d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6871be",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 233.721,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57592,
    "c": 0.1183,
    "h": 277
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#6871BE
secondary
#D2CFB0
accent
#C358D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6871BE

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

Preview Lab → · Contrast checker → · Palette generator →

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