#6872CF#6872CF

#6872CF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.141 H 276.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6872CF
RGBrgb(104, 114, 207)
HSLhsl(234, 52%, 61%)
HSVhsv(234, 50%, 81%)
CMYKcmyk(49.8%, 44.9%, 0%, 18.8%)
CIE-LABlab(51.25, 21.66, -49.44)
CIE-LCHlch(51.25, 53.98, 293.66°)
OKLaboklab(58.79% 0.016 -0.1404)
OKLCHoklch(58.79% 0.141 276.5)
XYZxyz(22.9852, 19.4813, 61.5685)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872CF #CFC568
analogous
#68A5CF #6872CF #9168CF
triadic
#6872CF #CF6872 #72CF68
tetradic
#6872CF #CF68A5 #CFC568 #68CF91
square
#6872CF #CF68A5 #CFC568 #68CF91
split-complementary
#6872CF #CF9168 #A5CF68
monochromatic
#2D378F #3C49BE #6872CF #969DDE #C5C9ED

Accessibility & contrast

On white

4.29
#6872CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6872CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872CF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872CF#FFFFFF#000000##000000
##6872CF1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#4176CD
Tritanopia (blue-blind)
#3F8696
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6872cf;
/* rgb */ color: rgb(104, 114, 207);
/* oklch */ color: oklch(58.8% 0.141 276.5);
Tailwind
colors: {
  custom: {
    50: '#999ade',
    500: '#6872cf',
    950: '#000000',
  },
}
SCSS
$custom: #6872cf;
$custom-light: #999ade;
$custom-dark: #000000;
JSON
{
  "hex": "#6872cf",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 234.175,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.14131,
    "h": 276.5
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#6872CF
secondary
#DDD9B6
accent
#B026BF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6872CF

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

Preview Lab → · Contrast checker → · Palette generator →

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