#6872A2#6872A2

#6872A2 is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.3% C 0.075 H 274.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6872A2
RGBrgb(104, 114, 162)
HSLhsl(230, 24%, 52%)
HSVhsv(230, 36%, 64%)
CMYKcmyk(35.8%, 29.6%, 0%, 36.5%)
CIE-LABlab(48.99, 8.31, -27.02)
CIE-LCHlch(48.99, 28.27, 287.09°)
OKLaboklab(56.33% 0.0062 -0.0752)
OKLCHoklch(56.33% 0.075 274.7)
XYZxyz(18.2459, 17.5856, 36.6084)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6872A2 #A29868
analogous
#688FA2 #6872A2 #7B68A2
triadic
#6872A2 #A26872 #72A268
tetradic
#6872A2 #A2688F #A29868 #68A27B
square
#6872A2 #A2688F #A29868 #68A27B
split-complementary
#6872A2 #A27B68 #8FA268
monochromatic
#373D59 #4E567F #6872A2 #8E95B9 #B4B9D1

Accessibility & contrast

On white

4.65
#6872A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6872A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6872A2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6872A2#FFFFFF#000000##FFFFFF
##6872A21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#5F72A1
Tritanopia (blue-blind)
#577B83
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6872a2;
/* rgb */ color: rgb(104, 114, 162);
/* oklch */ color: oklch(56.3% 0.075 274.7);
Tailwind
colors: {
  custom: {
    50: '#959abd',
    500: '#6872a2',
    950: '#000000',
  },
}
SCSS
$custom: #6872a2;
$custom-light: #959abd;
$custom-dark: #000000;
JSON
{
  "hex": "#6872a2",
  "rgb": {
    "r": 104,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 229.655,
    "s": 23.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.07544,
    "h": 274.7
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#6872A2
secondary
#C0BBA6
accent
#B168C0
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6872A2

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

Preview Lab → · Contrast checker → · Palette generator →

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