#6871FA#6871FA

#6871FA is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.5% C 0.201 H 275.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6871FA
RGBrgb(104, 113, 250)
HSLhsl(236, 94%, 69%)
HSVhsv(236, 58%, 98%)
CMYKcmyk(58.4%, 54.8%, 0%, 2%)
CIE-LABlab(53.66, 35.83, -69.72)
CIE-LCHlch(53.66, 78.39, 297.20°)
OKLaboklab(61.47% 0.0207 -0.2)
OKLCHoklch(61.47% 0.201 275.9)
XYZxyz(28.8638, 21.6533, 93.0824)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871FA #FAF168
analogous
#68BAFA #6871FA #A868FA
triadic
#6871FA #FA6871 #71FA68
tetradic
#6871FA #FA68BA #FAF168 #68FAA8
square
#6871FA #FA68BA #FAF168 #68FAA8
split-complementary
#6871FA #FAA868 #BAFA68
monochromatic
#0715E0 #2D39F8 #6871FA #A3A9FC #DEE0FE

Accessibility & contrast

On white

3.94
#6871FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#6871FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871FA
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871FA#FFFFFF#000000##000000
##6871FA1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#0091AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6871fa;
/* rgb */ color: rgb(104, 113, 250);
/* oklch */ color: oklch(61.5% 0.201 275.9);
Tailwind
colors: {
  custom: {
    50: '#9f99fd',
    500: '#6871fa',
    950: '#000000',
  },
}
SCSS
$custom: #6871fa;
$custom-light: #9f99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6871fa",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 236.301,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.20107,
    "h": 275.9
  },
  "luminance": 0.21655
}

Semantic roles & 50–950 ramp

primary
#6871FA
secondary
#F4F1CA
accent
#D700E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6871FA

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

Preview Lab → · Contrast checker → · Palette generator →

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