#6871CA#6871CA

#6871CA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.136 H 277.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6871CA
RGBrgb(104, 113, 202)
HSLhsl(234, 48%, 60%)
HSVhsv(234, 49%, 79%)
CMYKcmyk(48.5%, 44.1%, 0%, 20.8%)
CIE-LABlab(50.71, 20.73, -47.45)
CIE-LCHlch(50.71, 51.78, 293.59°)
OKLaboklab(58.29% 0.0165 -0.1346)
OKLCHoklch(58.29% 0.136 277)
XYZxyz(22.2714, 19.0163, 58.3626)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871CA #CAC168
analogous
#68A2CA #6871CA #9068CA
triadic
#6871CA #CA6871 #71CA68
tetradic
#6871CA #CA68A2 #CAC168 #68CA90
square
#6871CA #CA68A2 #CAC168 #68CA90
split-complementary
#6871CA #CA9068 #A2CA68
monochromatic
#303888 #404AB5 #6871CA #959CDA #C3C6EA

Accessibility & contrast

On white

4.37
#6871CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#6871CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871CA#FFFFFF#000000##000000
##6871CA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#438494
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6871ca;
/* rgb */ color: rgb(104, 113, 202);
/* oklch */ color: oklch(58.3% 0.136 277.0);
Tailwind
colors: {
  custom: {
    50: '#9999da',
    500: '#6871ca',
    950: '#000000',
  },
}
SCSS
$custom: #6871ca;
$custom-light: #9999da;
$custom-dark: #000000;
JSON
{
  "hex": "#6871ca",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 234.49,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.13557,
    "h": 277
  },
  "luminance": 0.19018
}

Semantic roles & 50–950 ramp

primary
#6871CA
secondary
#DAD6B4
accent
#CB50D8
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6871CA

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

Preview Lab → · Contrast checker → · Palette generator →

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