#6877BC#6877BC

#6877BC is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.7% C 0.107 H 273.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6877BC
RGBrgb(104, 119, 188)
HSLhsl(229, 39%, 57%)
HSVhsv(229, 45%, 74%)
CMYKcmyk(44.7%, 36.7%, 0%, 26.3%)
CIE-LABlab(51.57, 12.82, -38.06)
CIE-LCHlch(51.57, 40.16, 288.62°)
OKLaboklab(58.72% 0.0063 -0.1071)
OKLCHoklch(58.72% 0.107 273.4)
XYZxyz(21.3800, 19.7664, 50.2559)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877BC #BCAD68
analogous
#68A1BC #6877BC #8368BC
triadic
#6877BC #BC6877 #77BC68
tetradic
#6877BC #BC68A1 #BCAD68 #68BC83
square
#6877BC #BC68A1 #BCAD68 #68BC83
split-complementary
#6877BC #BC8368 #A1BC68
monochromatic
#344075 #4757A0 #6877BC #929DCF #BDC3E2

Accessibility & contrast

On white

4.24
#6877BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#6877BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877BC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877BC#FFFFFF#000000##000000
##6877BC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#4B8591
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6877bc;
/* rgb */ color: rgb(104, 119, 188);
/* oklch */ color: oklch(58.7% 0.107 273.4);
Tailwind
colors: {
  custom: {
    50: '#979ed0',
    500: '#6877bc',
    950: '#000000',
  },
}
SCSS
$custom: #6877bc;
$custom-light: #979ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6877bc",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 229.286,
    "s": 38.532,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58719,
    "c": 0.10729,
    "h": 273.4
  },
  "luminance": 0.19768
}

Semantic roles & 50–950 ramp

primary
#6877BC
secondary
#D1CBAF
accent
#BA59CE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6877BC

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

Preview Lab → · Contrast checker → · Palette generator →

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