#6871CB#6871CB

#6871CB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.137 H 277.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6871CB
RGBrgb(104, 113, 203)
HSLhsl(235, 49%, 60%)
HSVhsv(235, 49%, 80%)
CMYKcmyk(48.8%, 44.3%, 0%, 20.4%)
CIE-LABlab(50.76, 21.03, -47.94)
CIE-LCHlch(50.76, 52.35, 293.69°)
OKLaboklab(58.36% 0.0166 -0.136)
OKLCHoklch(58.36% 0.137 277)
XYZxyz(22.3902, 19.0638, 58.9882)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871CB #CBC268
analogous
#68A3CB #6871CB #9068CB
triadic
#6871CB #CB6871 #71CB68
tetradic
#6871CB #CB68A3 #CBC268 #68CB90
square
#6871CB #CB68A3 #CBC268 #68CB90
split-complementary
#6871CB #CB9068 #A3CB68
monochromatic
#2F3789 #3F4AB7 #6871CB #969CDB #C3C7EA

Accessibility & contrast

On white

4.36
#6871CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6871CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871CB#FFFFFF#000000##000000
##6871CB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#428494
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6871cb;
/* rgb */ color: rgb(104, 113, 203);
/* oklch */ color: oklch(58.4% 0.137 277.0);
Tailwind
colors: {
  custom: {
    50: '#9999db',
    500: '#6871cb',
    950: '#000000',
  },
}
SCSS
$custom: #6871cb;
$custom-light: #9999db;
$custom-dark: #000000;
JSON
{
  "hex": "#6871cb",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 234.545,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.13699,
    "h": 277
  },
  "luminance": 0.19065
}

Semantic roles & 50–950 ramp

primary
#6871CB
secondary
#DAD7B4
accent
#AF29BC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871CB

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

Preview Lab → · Contrast checker → · Palette generator →

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