#6872FD#6872FD

#6872FD is a mid, highly saturated blue. Relative luminance 0.221; OKLCH L 61.9% C 0.204 H 275.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6872FD
RGBrgb(104, 114, 253)
HSLhsl(236, 97%, 70%)
HSVhsv(236, 59%, 99%)
CMYKcmyk(58.9%, 54.9%, 0%, 0.8%)
CIE-LABlab(54.10, 36.19, -70.66)
CIE-LCHlch(54.10, 79.39, 297.12°)
OKLaboklab(61.86% 0.0199 -0.2028)
OKLCHoklch(61.86% 0.204 275.6)
XYZxyz(29.4501, 22.0673, 95.6170)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872FD #FDF368
analogous
#68BDFD #6872FD #A868FD
triadic
#6872FD #FD6872 #72FD68
tetradic
#6872FD #FD68BD #FDF368 #68FDA8
square
#6872FD #FD68BD #FDF368 #68FDA8
split-complementary
#6872FD #FDA868 #BDFD68
monochromatic
#0312E8 #2C3AFC #6872FD #A4AAFE #E1E3FF

Accessibility & contrast

On white

3.88
#6872FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#6872FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872FD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872FD#FFFFFF#000000##000000
##6872FD1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6872fd;
/* rgb */ color: rgb(104, 114, 253);
/* oklch */ color: oklch(61.9% 0.204 275.6);
Tailwind
colors: {
  custom: {
    50: '#a09aff',
    500: '#6872fd',
    950: '#000000',
  },
}
SCSS
$custom: #6872fd;
$custom-light: #a09aff;
$custom-dark: #000000;
JSON
{
  "hex": "#6872fd",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 235.973,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.61858,
    "c": 0.20375,
    "h": 275.6
  },
  "luminance": 0.2207
}

Semantic roles & 50–950 ramp

primary
#6872FD
secondary
#F5F2CC
accent
#D600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6872FD

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

Preview Lab → · Contrast checker → · Palette generator →

#6872FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva