#6871FD#6871FD

#6871FD is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.7% C 0.205 H 275.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6871FD
RGBrgb(104, 113, 253)
HSLhsl(236, 97%, 70%)
HSVhsv(236, 59%, 99%)
CMYKcmyk(58.9%, 55.3%, 0%, 0.8%)
CIE-LABlab(53.86, 36.79, -71.05)
CIE-LCHlch(53.86, 80.01, 297.37°)
OKLaboklab(61.68% 0.0208 -0.2039)
OKLCHoklch(61.68% 0.205 275.8)
XYZxyz(29.3379, 21.8429, 95.5796)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871FD #FDF468
analogous
#68BBFD #6871FD #AA68FD
triadic
#6871FD #FD6871 #71FD68
tetradic
#6871FD #FD68BB #FDF468 #68FDAA
square
#6871FD #FD68BB #FDF468 #68FDAA
split-complementary
#6871FD #FDAA68 #BBFD68
monochromatic
#0311E8 #2C38FC #6871FD #A4AAFE #E1E3FF

Accessibility & contrast

On white

3.91
#6871FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6871FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871FD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871FD#FFFFFF#000000##000000
##6871FD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6871fd;
/* rgb */ color: rgb(104, 113, 253);
/* oklch */ color: oklch(61.7% 0.205 275.8);
Tailwind
colors: {
  custom: {
    50: '#a099ff',
    500: '#6871fd',
    950: '#000000',
  },
}
SCSS
$custom: #6871fd;
$custom-light: #a099ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6871fd",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 236.376,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.20499,
    "h": 275.8
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#6871FD
secondary
#F5F3CC
accent
#D800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6871FD

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

Preview Lab → · Contrast checker → · Palette generator →

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