#6877CD#6877CD

#6877CD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.132 H 274.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6877CD
RGBrgb(104, 119, 205)
HSLhsl(231, 50%, 61%)
HSVhsv(231, 49%, 80%)
CMYKcmyk(49.3%, 42%, 0%, 19.6%)
CIE-LABlab(52.45, 18.00, -46.40)
CIE-LCHlch(52.45, 49.77, 291.20°)
OKLaboklab(59.68% 0.0098 -0.1314)
OKLCHoklch(59.68% 0.132 274.3)
XYZxyz(23.3217, 20.5431, 60.4821)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877CD #CDBE68
analogous
#68A9CD #6877CD #8B68CD
triadic
#6877CD #CD6877 #77CD68
tetradic
#6877CD #CD68A9 #CDBE68 #68CD8B
square
#6877CD #CD68A9 #CDBE68 #68CD8B
split-complementary
#6877CD #CD8B68 #A9CD68
monochromatic
#2E3C8C #3E50BA #6877CD #96A0DC #C4CAEB

Accessibility & contrast

On white

4.11
#6877CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6877CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877CD#FFFFFF#000000##000000
##6877CD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#408998
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6877cd;
/* rgb */ color: rgb(104, 119, 205);
/* oklch */ color: oklch(59.7% 0.132 274.3);
Tailwind
colors: {
  custom: {
    50: '#999edd',
    500: '#6877cd',
    950: '#000000',
  },
}
SCSS
$custom: #6877cd;
$custom-light: #999edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6877cd",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 231.089,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59675,
    "c": 0.1318,
    "h": 274.3
  },
  "luminance": 0.20544
}

Semantic roles & 50–950 ramp

primary
#6877CD
secondary
#DCD6B5
accent
#A728BE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6877CD

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

Preview Lab → · Contrast checker → · Palette generator →

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