#6879BC#6879BC

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

Color values

HEX#6879BC
RGBrgb(104, 121, 188)
HSLhsl(228, 39%, 57%)
HSVhsv(228, 45%, 74%)
CMYKcmyk(44.7%, 35.6%, 0%, 26.3%)
CIE-LABlab(52.12, 11.62, -37.20)
CIE-LCHlch(52.12, 38.98, 287.34°)
OKLaboklab(59.14% 0.0038 -0.1046)
OKLCHoklch(59.14% 0.105 272.1)
XYZxyz(21.6206, 20.2475, 50.3361)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879BC #BCAB68
analogous
#68A3BC #6879BC #8168BC
triadic
#6879BC #BC6879 #79BC68
tetradic
#6879BC #BC68A3 #BCAB68 #68BC81
square
#6879BC #BC68A3 #BCAB68 #68BC81
split-complementary
#6879BC #BC8168 #A3BC68
monochromatic
#344175 #4759A0 #6879BC #929FCF #BDC4E2

Accessibility & contrast

On white

4.16
#6879BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#6879BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879BC#FFFFFF#000000##000000
##6879BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BF
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#4A8792
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6879bc;
/* rgb */ color: rgb(104, 121, 188);
/* oklch */ color: oklch(59.1% 0.105 272.1);
Tailwind
colors: {
  custom: {
    50: '#979fd0',
    500: '#6879bc',
    950: '#000000',
  },
}
SCSS
$custom: #6879bc;
$custom-light: #979fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6879bc",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 227.857,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.10468,
    "h": 272.1
  },
  "luminance": 0.20249
}

Semantic roles & 50–950 ramp

primary
#6879BC
secondary
#D1CAAF
accent
#B759CE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6879BC

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

Preview Lab → · Contrast checker → · Palette generator →

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