#6877BF#6877BF

#6877BF is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.9% C 0.112 H 273.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6877BF
RGBrgb(104, 119, 191)
HSLhsl(230, 40%, 58%)
HSVhsv(230, 46%, 75%)
CMYKcmyk(45.5%, 37.7%, 0%, 25.1%)
CIE-LABlab(51.72, 13.73, -39.55)
CIE-LCHlch(51.72, 41.86, 289.14°)
OKLaboklab(58.88% 0.007 -0.1114)
OKLCHoklch(58.88% 0.112 273.6)
XYZxyz(21.7068, 19.8971, 51.9769)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877BF #BFB068
analogous
#68A2BF #6877BF #8468BF
triadic
#6877BF #BF6877 #77BF68
tetradic
#6877BF #BF68A2 #BFB068 #68BF84
square
#6877BF #BF68A2 #BFB068 #68BF84
split-complementary
#6877BF #BF8468 #A2BF68
monochromatic
#333F79 #4656A4 #6877BF #939ED1 #BEC4E3

Accessibility & contrast

On white

4.22
#6877BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6877BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877BF#FFFFFF#000000##000000
##6877BF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#498692
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6877bf;
/* rgb */ color: rgb(104, 119, 191);
/* oklch */ color: oklch(58.9% 0.112 273.6);
Tailwind
colors: {
  custom: {
    50: '#979ed2',
    500: '#6877bf',
    950: '#000000',
  },
}
SCSS
$custom: #6877bf;
$custom-light: #979ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6877bf",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 229.655,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.11166,
    "h": 273.6
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#6877BF
secondary
#D3CDB0
accent
#BB57D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6877BF

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

Preview Lab → · Contrast checker → · Palette generator →

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