#6879A5#6879A5

#6879A5 is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.0% C 0.071 H 267.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6879A5
RGBrgb(104, 121, 165)
HSLhsl(223, 25%, 53%)
HSVhsv(223, 37%, 65%)
CMYKcmyk(37%, 26.7%, 0%, 35.3%)
CIE-LABlab(51.08, 4.95, -25.54)
CIE-LCHlch(51.08, 26.01, 280.97°)
OKLaboklab(57.99% -0.0026 -0.0709)
OKLCHoklch(57.99% 0.071 267.9)
XYZxyz(19.3358, 19.3336, 38.3030)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879A5 #A59468
analogous
#6897A5 #6879A5 #7668A5
triadic
#6879A5 #A56879 #79A568
tetradic
#6879A5 #A56897 #A59468 #68A576
square
#6879A5 #A56897 #A59468 #68A576
split-complementary
#6879A5 #A57668 #97A568
monochromatic
#37415C #4E5C82 #6879A5 #8E9BBC #B5BDD3

Accessibility & contrast

On white

4.31
#6879A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6879A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879A5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879A5#FFFFFF#000000##000000
##6879A51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA7
Deuteranopia (green-blind)
#6577A4
Tritanopia (blue-blind)
#558288
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6879a5;
/* rgb */ color: rgb(104, 121, 165);
/* oklch */ color: oklch(58.0% 0.071 267.9);
Tailwind
colors: {
  custom: {
    50: '#959fc0',
    500: '#6879a5',
    950: '#000000',
  },
}
SCSS
$custom: #6879a5;
$custom-light: #959fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6879a5",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 165
  },
  "hsl": {
    "h": 223.279,
    "s": 25.311,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.07099,
    "h": 267.9
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#6879A5
secondary
#C2BAA7
accent
#A866C2
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6879A5

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

Preview Lab → · Contrast checker → · Palette generator →

#6879A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva