#6871F4#6871F4

#6871F4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.0% C 0.193 H 276.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6871F4
RGBrgb(104, 113, 244)
HSLhsl(236, 86%, 68%)
HSVhsv(236, 57%, 96%)
CMYKcmyk(57.4%, 53.7%, 0%, 4.3%)
CIE-LABlab(53.26, 33.92, -67.03)
CIE-LCHlch(53.26, 75.13, 296.84°)
OKLaboklab(61.04% 0.0205 -0.1921)
OKLCHoklch(61.04% 0.193 276.1)
XYZxyz(27.9379, 21.2829, 88.2062)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871F4 #F4EB68
analogous
#68B7F4 #6871F4 #A568F4
triadic
#6871F4 #F46871 #71F468
tetradic
#6871F4 #F468B7 #F4EB68 #68F4A5
square
#6871F4 #F468B7 #F4EB68 #68F4A5
split-complementary
#6871F4 #F4A568 #B7F468
monochromatic
#0F1CD2 #2F3BF0 #6871F4 #A1A7F8 #DADCFC

Accessibility & contrast

On white

3.99
#6871F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6871F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871F4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871F4#FFFFFF#000000##000000
##6871F41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1985F9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6871f4;
/* rgb */ color: rgb(104, 113, 244);
/* oklch */ color: oklch(61.0% 0.193 276.1);
Tailwind
colors: {
  custom: {
    50: '#9e99f9',
    500: '#6871f4',
    950: '#000000',
  },
}
SCSS
$custom: #6871f4;
$custom-light: #9e99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6871f4",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 236.143,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61039,
    "c": 0.19319,
    "h": 276.1
  },
  "luminance": 0.21285
}

Semantic roles & 50–950 ramp

primary
#6871F4
secondary
#F1EEC7
accent
#D503E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6871F4

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

Preview Lab → · Contrast checker → · Palette generator →

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