#6872D5#6872D5

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

Color values

HEX#6872D5
RGBrgb(104, 114, 213)
HSLhsl(234, 56%, 62%)
HSVhsv(234, 51%, 84%)
CMYKcmyk(51.2%, 46.5%, 0%, 16.5%)
CIE-LABlab(51.59, 23.52, -52.31)
CIE-LCHlch(51.59, 57.35, 294.22°)
OKLaboklab(59.17% 0.0169 -0.1488)
OKLCHoklch(59.17% 0.15 276.5)
XYZxyz(23.7327, 19.7803, 65.5053)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872D5 #D5CB68
analogous
#68A9D5 #6872D5 #9468D5
triadic
#6872D5 #D56872 #72D568
tetradic
#6872D5 #D568A9 #D5CB68 #68D594
square
#6872D5 #D568A9 #D5CB68 #68D594
split-complementary
#6872D5 #D59468 #A9D568
monochromatic
#2A3498 #3845C8 #6872D5 #989FE2 #C8CBF0

Accessibility & contrast

On white

4.24
#6872D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6872D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872D5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872D5#FFFFFF#000000##000000
##6872D51.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680D9
Deuteranopia (green-blind)
#3B77D3
Tritanopia (blue-blind)
#3A8799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6872d5;
/* rgb */ color: rgb(104, 114, 213);
/* oklch */ color: oklch(59.2% 0.150 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a9ae2',
    500: '#6872d5',
    950: '#000000',
  },
}
SCSS
$custom: #6872d5;
$custom-light: #9a9ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#6872d5",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 234.495,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.14975,
    "h": 276.5
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#6872D5
secondary
#E0DDB8
accent
#B521C4
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0F0E15
muted
#7E7E83

Preview Lab

Preview with #6872D5

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

Preview Lab → · Contrast checker → · Palette generator →

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