#6872C8#6872C8

#6872C8 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.131 H 276.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6872C8
RGBrgb(104, 114, 200)
HSLhsl(234, 47%, 60%)
HSVhsv(234, 48%, 78%)
CMYKcmyk(48%, 43%, 0%, 21.6%)
CIE-LABlab(50.86, 19.50, -46.07)
CIE-LCHlch(50.86, 50.03, 292.94°)
OKLaboklab(58.38% 0.0149 -0.1305)
OKLCHoklch(58.38% 0.131 276.5)
XYZxyz(22.1483, 19.1466, 57.1610)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872C8 #C8BE68
analogous
#68A2C8 #6872C8 #8E68C8
triadic
#6872C8 #C86872 #72C868
tetradic
#6872C8 #C868A2 #C8BE68 #68C88E
square
#6872C8 #C868A2 #C8BE68 #68C88E
split-complementary
#6872C8 #C88E68 #A2C868
monochromatic
#303985 #414DB2 #6872C8 #959CD8 #C2C6E9

Accessibility & contrast

On white

4.35
#6872C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#6872C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872C8#FFFFFF#000000##000000
##6872C81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#4875C6
Tritanopia (blue-blind)
#448493
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6872c8;
/* rgb */ color: rgb(104, 114, 200);
/* oklch */ color: oklch(58.4% 0.131 276.5);
Tailwind
colors: {
  custom: {
    50: '#989ad9',
    500: '#6872c8',
    950: '#000000',
  },
}
SCSS
$custom: #6872c8;
$custom-light: #989ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#6872c8",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 233.75,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.13136,
    "h": 276.5
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#6872C8
secondary
#D9D5B3
accent
#C852D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6872C8

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

Preview Lab → · Contrast checker → · Palette generator →

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