#6872AC#6872AC

#6872AC is a mid, moderate blue. Relative luminance 0.180; OKLCH L 56.8% C 0.090 H 275.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6872AC
RGBrgb(104, 114, 172)
HSLhsl(231, 29%, 54%)
HSVhsv(231, 40%, 67%)
CMYKcmyk(39.5%, 33.7%, 0%, 32.5%)
CIE-LABlab(49.44, 11.15, -32.15)
CIE-LCHlch(49.44, 34.03, 289.12°)
OKLaboklab(56.83% 0.0089 -0.09)
OKLCHoklch(56.83% 0.09 275.7)
XYZxyz(19.1704, 17.9554, 41.4774)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872AC #ACA268
analogous
#6894AC #6872AC #8068AC
triadic
#6872AC #AC6872 #72AC68
tetradic
#6872AC #AC6894 #ACA268 #68AC80
square
#6872AC #AC6894 #ACA268 #68AC80
split-complementary
#6872AC #AC8068 #94AC68
monochromatic
#363D63 #4C558B #6872AC #8F97C2 #B7BCD7

Accessibility & contrast

On white

4.57
#6872AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6872AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6872AC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872AC#FFFFFF#000000##000000
##6872AC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AE
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#537D87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6872ac;
/* rgb */ color: rgb(104, 114, 172);
/* oklch */ color: oklch(56.8% 0.090 275.7);
Tailwind
colors: {
  custom: {
    50: '#969ac5',
    500: '#6872ac',
    950: '#000000',
  },
}
SCSS
$custom: #6872ac;
$custom-light: #969ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6872ac",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 172
  },
  "hsl": {
    "h": 231.176,
    "s": 29.06,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.09042,
    "h": 275.7
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#6872AC
secondary
#C6C2A9
accent
#B762C5
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #6872AC

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

Preview Lab → · Contrast checker → · Palette generator →

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