#6871DE#6871DE

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

Color values

HEX#6871DE
RGBrgb(104, 113, 222)
HSLhsl(235, 64%, 64%)
HSVhsv(235, 53%, 87%)
CMYKcmyk(53.2%, 49.1%, 0%, 12.9%)
CIE-LABlab(51.87, 26.95, -56.95)
CIE-LCHlch(51.87, 63.01, 295.33°)
OKLaboklab(59.55% 0.019 -0.1624)
OKLCHoklch(59.55% 0.164 276.7)
XYZxyz(24.7947, 20.0256, 71.6519)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871DE #DED568
analogous
#68ACDE #6871DE #9A68DE
triadic
#6871DE #DE6871 #71DE68
tetradic
#6871DE #DE68AC #DED568 #68DE9A
square
#6871DE #DE68AC #DED568 #68DE9A
split-complementary
#6871DE #DE9A68 #ACDE68
monochromatic
#252EA7 #3642D3 #6871DE #9AA0E9 #CCCFF4

Accessibility & contrast

On white

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

On black

5.01
#6871DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871DE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871DE#FFFFFF#000000##000000
##6871DE1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#31899D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6871de;
/* rgb */ color: rgb(104, 113, 222);
/* oklch */ color: oklch(59.5% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b99e9',
    500: '#6871de',
    950: '#000000',
  },
}
SCSS
$custom: #6871de;
$custom-light: #9b99e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6871de",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 235.424,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.16356,
    "h": 276.7
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#6871DE
secondary
#E6E2BC
accent
#BE1ACC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6871DE

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

Preview Lab → · Contrast checker → · Palette generator →

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