#6872CD#6872CD

#6872CD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.7% C 0.138 H 276.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6872CD
RGBrgb(104, 114, 205)
HSLhsl(234, 50%, 61%)
HSVhsv(234, 49%, 80%)
CMYKcmyk(49.3%, 44.4%, 0%, 19.6%)
CIE-LABlab(51.13, 21.04, -48.48)
CIE-LCHlch(51.13, 52.85, 293.46°)
OKLaboklab(58.67% 0.0157 -0.1376)
OKLCHoklch(58.67% 0.138 276.5)
XYZxyz(22.7422, 19.3841, 60.2889)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872CD #CDC368
analogous
#68A5CD #6872CD #9068CD
triadic
#6872CD #CD6872 #72CD68
tetradic
#6872CD #CD68A5 #CDC368 #68CD90
square
#6872CD #CD68A5 #CDC368 #68CD90
split-complementary
#6872CD #CD9068 #A5CD68
monochromatic
#2E388C #3E4ABA #6872CD #969DDC #C4C8EB

Accessibility & contrast

On white

4.31
#6872CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#6872CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872CD#FFFFFF#000000##000000
##6872CD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#408595
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6872cd;
/* rgb */ color: rgb(104, 114, 205);
/* oklch */ color: oklch(58.7% 0.138 276.5);
Tailwind
colors: {
  custom: {
    50: '#999add',
    500: '#6872cd',
    950: '#000000',
  },
}
SCSS
$custom: #6872cd;
$custom-light: #999add;
$custom-dark: #000000;
JSON
{
  "hex": "#6872cd",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 234.059,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58674,
    "c": 0.13848,
    "h": 276.5
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#6872CD
secondary
#DCD8B5
accent
#AF28BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6872CD

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

Preview Lab → · Contrast checker → · Palette generator →

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