#6879BD#6879BD

#6879BD is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.2% C 0.106 H 272.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6879BD
RGBrgb(104, 121, 189)
HSLhsl(228, 39%, 57%)
HSVhsv(228, 45%, 74%)
CMYKcmyk(45%, 36%, 0%, 25.9%)
CIE-LABlab(52.16, 11.92, -37.70)
CIE-LCHlch(52.16, 39.54, 287.54°)
OKLaboklab(59.19% 0.004 -0.1061)
OKLCHoklch(59.19% 0.106 272.2)
XYZxyz(21.7287, 20.2907, 50.9058)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879BD #BDAC68
analogous
#68A4BD #6879BD #8168BD
triadic
#6879BD #BD6879 #79BD68
tetradic
#6879BD #BD68A4 #BDAC68 #68BD81
square
#6879BD #BD68A4 #BDAC68 #68BD81
split-complementary
#6879BD #BD8168 #A4BD68
monochromatic
#344177 #4759A1 #6879BD #939FD0 #BDC5E2

Accessibility & contrast

On white

4.15
#6879BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6879BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879BD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879BD#FFFFFF#000000##000000
##6879BD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#4A8792
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6879bd;
/* rgb */ color: rgb(104, 121, 189);
/* oklch */ color: oklch(59.2% 0.106 272.2);
Tailwind
colors: {
  custom: {
    50: '#979fd1',
    500: '#6879bd',
    950: '#000000',
  },
}
SCSS
$custom: #6879bd;
$custom-light: #979fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6879bd",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 189
  },
  "hsl": {
    "h": 228,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.10614,
    "h": 272.2
  },
  "luminance": 0.20292
}

Semantic roles & 50–950 ramp

primary
#6879BD
secondary
#D2CBAF
accent
#B759CF
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6879BD

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

Preview Lab → · Contrast checker → · Palette generator →

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