#6871ED#6871ED

#6871ED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.6% C 0.184 H 276.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6871ED
RGBrgb(104, 113, 237)
HSLhsl(236, 79%, 67%)
HSVhsv(236, 56%, 93%)
CMYKcmyk(56.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(52.80, 31.70, -63.86)
CIE-LCHlch(52.80, 71.30, 296.40°)
OKLaboklab(60.55% 0.0202 -0.1828)
OKLCHoklch(60.55% 0.184 276.3)
XYZxyz(26.8952, 20.8658, 82.7146)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871ED #EDE468
analogous
#68B4ED #6871ED #A268ED
triadic
#6871ED #ED6871 #71ED68
tetradic
#6871ED #ED68B4 #EDE468 #68EDA2
square
#6871ED #ED68B4 #EDE468 #68EDA2
split-complementary
#6871ED #EDA268 #B4ED68
monochromatic
#1723C3 #313EE6 #6871ED #9FA4F4 #D5D8FA

Accessibility & contrast

On white

4.06
#6871ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6871ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871ED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871ED#FFFFFF#000000##000000
##6871ED1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#0079EA
Tritanopia (blue-blind)
#198DA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6871ed;
/* rgb */ color: rgb(104, 113, 237);
/* oklch */ color: oklch(60.6% 0.184 276.3);
Tailwind
colors: {
  custom: {
    50: '#9d99f4',
    500: '#6871ed',
    950: '#000000',
  },
}
SCSS
$custom: #6871ed;
$custom-light: #9d99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6871ed",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 235.94,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60553,
    "c": 0.18389,
    "h": 276.3
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#6871ED
secondary
#EEEBC3
accent
#CD0BDB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6871ED

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

Preview Lab → · Contrast checker → · Palette generator →

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