#6871F3#6871F3

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

Color values

HEX#6871F3
RGBrgb(104, 113, 243)
HSLhsl(236, 85%, 68%)
HSVhsv(236, 57%, 95%)
CMYKcmyk(57.2%, 53.5%, 0%, 4.7%)
CIE-LABlab(53.19, 33.60, -66.58)
CIE-LCHlch(53.19, 74.58, 296.78°)
OKLaboklab(60.97% 0.0205 -0.1908)
OKLCHoklch(60.97% 0.192 276.1)
XYZxyz(27.7865, 21.2224, 87.4087)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871F3 #F3EA68
analogous
#68B6F3 #6871F3 #A468F3
triadic
#6871F3 #F36871 #71F368
tetradic
#6871F3 #F368B6 #F3EA68 #68F3A4
square
#6871F3 #F368B6 #F3EA68 #68F3A4
split-complementary
#6871F3 #F3A468 #B6F368
monochromatic
#111DD0 #2F3CEE #6871F3 #A1A6F8 #D9DCFC

Accessibility & contrast

On white

4.00
#6871F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6871F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871F3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871F3#FFFFFF#000000##000000
##6871F31.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B85F7
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#038FA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6871f3;
/* rgb */ color: rgb(104, 113, 243);
/* oklch */ color: oklch(61.0% 0.192 276.1);
Tailwind
colors: {
  custom: {
    50: '#9e99f8',
    500: '#6871f3',
    950: '#000000',
  },
}
SCSS
$custom: #6871f3;
$custom-light: #9e99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6871f3",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 236.115,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.19188,
    "h": 276.1
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#6871F3
secondary
#F1EEC6
accent
#D304E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6871F3

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

Preview Lab → · Contrast checker → · Palette generator →

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