#6871DD#6871DD

#6871DD is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.162 H 276.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6871DD
RGBrgb(104, 113, 221)
HSLhsl(235, 63%, 64%)
HSVhsv(235, 53%, 87%)
CMYKcmyk(52.9%, 48.9%, 0%, 13.3%)
CIE-LABlab(51.81, 26.64, -56.48)
CIE-LCHlch(51.81, 62.45, 295.25°)
OKLaboklab(59.48% 0.0189 -0.1611)
OKLCHoklch(59.48% 0.162 276.7)
XYZxyz(24.6611, 19.9722, 70.9481)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871DD #DDD468
analogous
#68ABDD #6871DD #9968DD
triadic
#6871DD #DD6871 #71DD68
tetradic
#6871DD #DD68AB #DDD468 #68DD99
square
#6871DD #DD68AB #DDD468 #68DD99
split-complementary
#6871DD #DD9968 #ABDD68
monochromatic
#252FA5 #3642D2 #6871DD #9AA0E8 #CCCFF3

Accessibility & contrast

On white

4.20
#6871DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#6871DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871DD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871DD#FFFFFF#000000##000000
##6871DD1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#2F77DB
Tritanopia (blue-blind)
#32899C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6871dd;
/* rgb */ color: rgb(104, 113, 221);
/* oklch */ color: oklch(59.5% 0.162 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b99e8',
    500: '#6871dd',
    950: '#000000',
  },
}
SCSS
$custom: #6871dd;
$custom-light: #9b99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6871dd",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 235.385,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.16219,
    "h": 276.7
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#6871DD
secondary
#E5E2BC
accent
#BD1ACB
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6871DD

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

Preview Lab → · Contrast checker → · Palette generator →

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