#6872F7#6872F7

#6872F7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.4% C 0.196 H 275.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6872F7
RGBrgb(104, 114, 247)
HSLhsl(236, 90%, 69%)
HSVhsv(236, 58%, 97%)
CMYKcmyk(57.9%, 53.8%, 0%, 3.1%)
CIE-LABlab(53.70, 34.28, -67.99)
CIE-LCHlch(53.70, 76.14, 296.76°)
OKLaboklab(61.43% 0.0197 -0.1949)
OKLCHoklch(61.43% 0.196 275.8)
XYZxyz(28.5093, 21.6910, 90.6621)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872F7 #F7ED68
analogous
#68BAF7 #6872F7 #A668F7
triadic
#6872F7 #F76872 #72F768
tetradic
#6872F7 #F768BA #F7ED68 #68F7A6
square
#6872F7 #F768BA #F7ED68 #68F7A6
split-complementary
#6872F7 #F7A668 #BAF768
monochromatic
#0C1AD9 #2E3CF4 #6872F7 #A2A8FA #DCDFFD

Accessibility & contrast

On white

3.93
#6872F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6872F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872F7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872F7#FFFFFF#000000##000000
##6872F71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1587FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0091AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6872f7;
/* rgb */ color: rgb(104, 114, 247);
/* oklch */ color: oklch(61.4% 0.196 275.8);
Tailwind
colors: {
  custom: {
    50: '#9f9afb',
    500: '#6872f7',
    950: '#000000',
  },
}
SCSS
$custom: #6872f7;
$custom-light: #9f9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#6872f7",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 235.804,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61431,
    "c": 0.1959,
    "h": 275.8
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#6872F7
secondary
#F3F0C8
accent
#D500E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6872F7

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

Preview Lab → · Contrast checker → · Palette generator →

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