#6879BF#6879BF

#6879BF is a mid, moderate blue. Relative luminance 0.204; OKLCH L 59.3% C 0.109 H 272.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6879BF
RGBrgb(104, 121, 191)
HSLhsl(228, 40%, 58%)
HSVhsv(228, 46%, 75%)
CMYKcmyk(45.5%, 36.6%, 0%, 25.1%)
CIE-LABlab(52.26, 12.52, -38.69)
CIE-LCHlch(52.26, 40.67, 287.92°)
OKLaboklab(59.3% 0.0045 -0.1089)
OKLCHoklch(59.3% 0.109 272.3)
XYZxyz(21.9473, 20.3782, 52.0570)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879BF #BFAE68
analogous
#68A4BF #6879BF #8268BF
triadic
#6879BF #BF6879 #79BF68
tetradic
#6879BF #BF68A4 #BFAE68 #68BF82
square
#6879BF #BF68A4 #BFAE68 #68BF82
split-complementary
#6879BF #BF8268 #A4BF68
monochromatic
#334179 #4658A4 #6879BF #939FD1 #BEC5E3

Accessibility & contrast

On white

4.14
#6879BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6879BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879BF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879BF#FFFFFF#000000##000000
##6879BF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C2
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#498793
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6879bf;
/* rgb */ color: rgb(104, 121, 191);
/* oklch */ color: oklch(59.3% 0.109 272.3);
Tailwind
colors: {
  custom: {
    50: '#979fd2',
    500: '#6879bf',
    950: '#000000',
  },
}
SCSS
$custom: #6879bf;
$custom-light: #979fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6879bf",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 191
  },
  "hsl": {
    "h": 228.276,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.10903,
    "h": 272.3
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#6879BF
secondary
#D3CCB0
accent
#B957D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6879BF

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

Preview Lab → · Contrast checker → · Palette generator →

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