#6879BB#6879BB

#6879BB is a mid, moderate blue. Relative luminance 0.202; OKLCH L 59.1% C 0.103 H 271.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6879BB
RGBrgb(104, 121, 187)
HSLhsl(228, 38%, 57%)
HSVhsv(228, 44%, 73%)
CMYKcmyk(44.4%, 35.3%, 0%, 26.7%)
CIE-LABlab(52.07, 11.32, -36.71)
CIE-LCHlch(52.07, 38.41, 287.14°)
OKLaboklab(59.09% 0.0035 -0.1032)
OKLCHoklch(59.09% 0.103 271.9)
XYZxyz(21.5132, 20.2045, 49.7704)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879BB #BBAA68
analogous
#68A3BB #6879BB #8168BB
triadic
#6879BB #BB6879 #79BB68
tetradic
#6879BB #BB68A3 #BBAA68 #68BB81
square
#6879BB #BB68A3 #BBAA68 #68BB81
split-complementary
#6879BB #BB8168 #A3BB68
monochromatic
#344174 #47599E #6879BB #929ECE #BCC4E1

Accessibility & contrast

On white

4.17
#6879BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6879BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879BB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879BB#FFFFFF#000000##000000
##6879BB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#4B8791
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6879bb;
/* rgb */ color: rgb(104, 121, 187);
/* oklch */ color: oklch(59.1% 0.103 271.9);
Tailwind
colors: {
  custom: {
    50: '#979fd0',
    500: '#6879bb',
    950: '#000000',
  },
}
SCSS
$custom: #6879bb;
$custom-light: #979fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6879bb",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 227.711,
    "s": 37.9,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.10322,
    "h": 271.9
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#6879BB
secondary
#D0C9AF
accent
#B65ACE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6879BB

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

Preview Lab → · Contrast checker → · Palette generator →

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