#6871EE#6871EE

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

Color values

HEX#6871EE
RGBrgb(104, 113, 238)
HSLhsl(236, 80%, 67%)
HSVhsv(236, 56%, 93%)
CMYKcmyk(56.3%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.87, 32.01, -64.32)
CIE-LCHlch(52.87, 71.85, 296.46°)
OKLaboklab(60.62% 0.0202 -0.1841)
OKLCHoklch(60.62% 0.185 276.3)
XYZxyz(27.0417, 20.9244, 83.4862)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871EE #EEE568
analogous
#68B4EE #6871EE #A268EE
triadic
#6871EE #EE6871 #71EE68
tetradic
#6871EE #EE68B4 #EEE568 #68EEA2
square
#6871EE #EE68B4 #EEE568 #68EEA2
split-complementary
#6871EE #EEA268 #B4EE68
monochromatic
#1622C5 #313DE8 #6871EE #9FA5F4 #D6D8FA

Accessibility & contrast

On white

4.05
#6871EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6871EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871EE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871EE#FFFFFF#000000##000000
##6871EE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F2
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#168EA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6871ee;
/* rgb */ color: rgb(104, 113, 238);
/* oklch */ color: oklch(60.6% 0.185 276.3);
Tailwind
colors: {
  custom: {
    50: '#9d99f4',
    500: '#6871ee',
    950: '#000000',
  },
}
SCSS
$custom: #6871ee;
$custom-light: #9d99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6871ee",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 235.97,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.18523,
    "h": 276.3
  },
  "luminance": 0.20926
}

Semantic roles & 50–950 ramp

primary
#6871EE
secondary
#EEEBC4
accent
#CE09DC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6871EE

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

Preview Lab → · Contrast checker → · Palette generator →

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