#6871FF#6871FF

#6871FF is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.8% C 0.208 H 275.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6871FF
RGBrgb(104, 113, 255)
HSLhsl(236, 100%, 70%)
HSVhsv(236, 59%, 100%)
CMYKcmyk(59.2%, 55.7%, 0%, 0%)
CIE-LABlab(54.00, 37.43, -71.94)
CIE-LCHlch(54.00, 81.09, 297.49°)
OKLaboklab(61.83% 0.0209 -0.2065)
OKLCHoklch(61.83% 0.208 275.8)
XYZxyz(29.6582, 21.9710, 97.2663)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871FF #FFF668
analogous
#68BCFF #6871FF #AA68FF
triadic
#6871FF #FF6871 #71FF68
tetradic
#6871FF #FF68BC #FFF668 #68FFAA
square
#6871FF #FF68BC #FFF668 #68FFAA
split-complementary
#6871FF #FFAA68 #BCFF68
monochromatic
#000EED #2B37FF #6871FF #A5ABFF #E0E2FF

Accessibility & contrast

On white

3.89
#6871FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6871FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871FF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871FF#FFFFFF#000000##000000
##6871FF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#0093AD
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6871ff;
/* rgb */ color: rgb(104, 113, 255);
/* oklch */ color: oklch(61.8% 0.208 275.8);
Tailwind
colors: {
  custom: {
    50: '#a099ff',
    500: '#6871ff',
    950: '#000000',
  },
}
SCSS
$custom: #6871ff;
$custom-light: #a099ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6871ff",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 236.424,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.20758,
    "h": 275.8
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#6871FF
secondary
#F6F4CD
accent
#D800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6871FF

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

Preview Lab → · Contrast checker → · Palette generator →

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