#6872D6#6872D6

#6872D6 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.2% C 0.151 H 276.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6872D6
RGBrgb(104, 114, 214)
HSLhsl(235, 57%, 62%)
HSVhsv(235, 51%, 84%)
CMYKcmyk(51.4%, 46.7%, 0%, 16.1%)
CIE-LABlab(51.65, 23.84, -52.78)
CIE-LCHlch(51.65, 57.91, 294.31°)
OKLaboklab(59.23% 0.017 -0.1502)
OKLCHoklch(59.23% 0.151 276.5)
XYZxyz(23.8600, 19.8312, 66.1758)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872D6 #D6CC68
analogous
#68A9D6 #6872D6 #9568D6
triadic
#6872D6 #D66872 #72D668
tetradic
#6872D6 #D668A9 #D6CC68 #68D695
square
#6872D6 #D668A9 #D6CC68 #68D695
split-complementary
#6872D6 #D69568 #A9D668
monochromatic
#2A349A #3845C9 #6872D6 #989FE3 #C8CCF0

Accessibility & contrast

On white

4.23
#6872D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6872D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872D6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872D6#FFFFFF#000000##000000
##6872D61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680DA
Deuteranopia (green-blind)
#3A77D4
Tritanopia (blue-blind)
#39889A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6872d6;
/* rgb */ color: rgb(104, 114, 214);
/* oklch */ color: oklch(59.2% 0.151 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a9ae3',
    500: '#6872d6',
    950: '#000000',
  },
}
SCSS
$custom: #6872d6;
$custom-light: #9a9ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#6872d6",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 214
  },
  "hsl": {
    "h": 234.545,
    "s": 57.292,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.15115,
    "h": 276.5
  },
  "luminance": 0.19833
}

Semantic roles & 50–950 ramp

primary
#6872D6
secondary
#E1DDB9
accent
#B621C5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E15
muted
#7E7E84

Preview Lab

Preview with #6872D6

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

Preview Lab → · Contrast checker → · Palette generator →

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