#6877BE#6877BE

#6877BE is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.8% C 0.110 H 273.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6877BE
RGBrgb(104, 119, 190)
HSLhsl(230, 40%, 58%)
HSVhsv(230, 45%, 75%)
CMYKcmyk(45.3%, 37.4%, 0%, 25.5%)
CIE-LABlab(51.67, 13.42, -39.05)
CIE-LCHlch(51.67, 41.30, 288.97°)
OKLaboklab(58.83% 0.0068 -0.11)
OKLCHoklch(58.83% 0.11 273.5)
XYZxyz(21.5971, 19.8533, 51.3993)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877BE #BEAF68
analogous
#68A2BE #6877BE #8468BE
triadic
#6877BE #BE6877 #77BE68
tetradic
#6877BE #BE68A2 #BEAF68 #68BE84
square
#6877BE #BE68A2 #BEAF68 #68BE84
split-complementary
#6877BE #BE8468 #A2BE68
monochromatic
#344078 #4656A3 #6877BE #939ED0 #BEC4E3

Accessibility & contrast

On white

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

On black

4.97
#6877BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877BE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877BE#FFFFFF#000000##000000
##6877BE1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#4A8691
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6877be;
/* rgb */ color: rgb(104, 119, 190);
/* oklch */ color: oklch(58.8% 0.110 273.5);
Tailwind
colors: {
  custom: {
    50: '#979ed2',
    500: '#6877be',
    950: '#000000',
  },
}
SCSS
$custom: #6877be;
$custom-light: #979ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6877be",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 229.535,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58828,
    "c": 0.1102,
    "h": 273.5
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#6877BE
secondary
#D2CCB0
accent
#BB58D0
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6877BE

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

Preview Lab → · Contrast checker → · Palette generator →

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