#6871C8#6871C8

#6871C8 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.133 H 277.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6871C8
RGBrgb(104, 113, 200)
HSLhsl(234, 47%, 60%)
HSVhsv(234, 48%, 78%)
CMYKcmyk(48%, 43.5%, 0%, 21.6%)
CIE-LABlab(50.60, 20.11, -46.48)
CIE-LCHlch(50.60, 50.65, 293.40°)
OKLaboklab(58.18% 0.0161 -0.1317)
OKLCHoklch(58.18% 0.133 277)
XYZxyz(22.0362, 18.9222, 57.1236)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871C8 #C8BF68
analogous
#68A1C8 #6871C8 #8F68C8
triadic
#6871C8 #C86871 #71C868
tetradic
#6871C8 #C868A1 #C8BF68 #68C88F
square
#6871C8 #C868A1 #C8BF68 #68C88F
split-complementary
#6871C8 #C88F68 #A1C868
monochromatic
#303885 #414BB2 #6871C8 #959BD8 #C2C5E9

Accessibility & contrast

On white

4.39
#6871C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#6871C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871C8#FFFFFF#000000##000000
##6871C81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#448393
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6871c8;
/* rgb */ color: rgb(104, 113, 200);
/* oklch */ color: oklch(58.2% 0.133 277.0);
Tailwind
colors: {
  custom: {
    50: '#9899d9',
    500: '#6871c8',
    950: '#000000',
  },
}
SCSS
$custom: #6871c8;
$custom-light: #9899d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6871c8",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 234.375,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58175,
    "c": 0.13271,
    "h": 277
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#6871C8
secondary
#D9D5B3
accent
#CA52D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871C8

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

Preview Lab → · Contrast checker → · Palette generator →

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