#6871DA#6871DA

#6871DA is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.158 H 276.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6871DA
RGBrgb(104, 113, 218)
HSLhsl(235, 61%, 63%)
HSVhsv(235, 52%, 85%)
CMYKcmyk(52.3%, 48.2%, 0%, 14.5%)
CIE-LABlab(51.63, 25.70, -55.08)
CIE-LCHlch(51.63, 60.78, 295.01°)
OKLaboklab(59.29% 0.0186 -0.1569)
OKLCHoklch(59.29% 0.158 276.8)
XYZxyz(24.2649, 19.8137, 68.8619)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871DA #DAD168
analogous
#68AADA #6871DA #9868DA
triadic
#6871DA #DA6871 #71DA68
tetradic
#6871DA #DA68AA #DAD168 #68DA98
square
#6871DA #DA68AA #DAD168 #68DA98
split-complementary
#6871DA #DA9868 #AADA68
monochromatic
#2731A0 #3743CE #6871DA #999FE6 #CACDF2

Accessibility & contrast

On white

4.23
#6871DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6871DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871DA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871DA#FFFFFF#000000##000000
##6871DA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4080DE
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#35889B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6871da;
/* rgb */ color: rgb(104, 113, 218);
/* oklch */ color: oklch(59.3% 0.158 276.8);
Tailwind
colors: {
  custom: {
    50: '#9b99e6',
    500: '#6871da',
    950: '#000000',
  },
}
SCSS
$custom: #6871da;
$custom-light: #9b99e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6871da",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 235.263,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.15804,
    "h": 276.8
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#6871DA
secondary
#E3E0BA
accent
#BB1DC8
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6871DA

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

Preview Lab → · Contrast checker → · Palette generator →

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