#6879A2#6879A2

#6879A2 is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.9% C 0.067 H 266.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6879A2
RGBrgb(104, 121, 162)
HSLhsl(222, 24%, 52%)
HSVhsv(222, 36%, 64%)
CMYKcmyk(35.8%, 25.3%, 0%, 36.5%)
CIE-LABlab(50.95, 4.11, -23.99)
CIE-LCHlch(50.95, 24.34, 279.73°)
OKLaboklab(57.85% -0.0036 -0.0665)
OKLCHoklch(57.85% 0.067 266.9)
XYZxyz(19.0659, 19.2256, 36.8817)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879A2 #A29168
analogous
#6896A2 #6879A2 #7468A2
triadic
#6879A2 #A26879 #79A268
tetradic
#6879A2 #A26896 #A29168 #68A274
square
#6879A2 #A26896 #A29168 #68A274
split-complementary
#6879A2 #A27468 #96A268
monochromatic
#374159 #4E5C7F #6879A2 #8E9BB9 #B4BCD1

Accessibility & contrast

On white

4.33
#6879A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6879A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879A2#FFFFFF#000000##000000
##6879A21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#578187
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6879a2;
/* rgb */ color: rgb(104, 121, 162);
/* oklch */ color: oklch(57.9% 0.067 266.9);
Tailwind
colors: {
  custom: {
    50: '#959fbd',
    500: '#6879a2',
    950: '#000000',
  },
}
SCSS
$custom: #6879a2;
$custom-light: #959fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6879a2",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 222.414,
    "s": 23.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.06661,
    "h": 266.9
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#6879A2
secondary
#C0B8A6
accent
#A668C0
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #6879A2

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

Preview Lab → · Contrast checker → · Palette generator →

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