#6877DC#6877DC

#6877DC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.6% C 0.153 H 274.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6877DC
RGBrgb(104, 119, 220)
HSLhsl(232, 62%, 64%)
HSVhsv(232, 53%, 86%)
CMYKcmyk(52.7%, 45.9%, 0%, 13.7%)
CIE-LABlab(53.28, 22.68, -53.56)
CIE-LCHlch(53.28, 58.16, 292.95°)
OKLaboklab(60.58% 0.0121 -0.1524)
OKLCHoklch(60.58% 0.153 274.6)
XYZxyz(25.2199, 21.3024, 70.4791)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877DC #DCCD68
analogous
#68B1DC #6877DC #9368DC
triadic
#6877DC #DC6877 #77DC68
tetradic
#6877DC #DC68B1 #DCCD68 #68DC93
square
#6877DC #DC68B1 #DCCD68 #68DC93
split-complementary
#6877DC #DC9368 #B1DC68
monochromatic
#2636A4 #364AD0 #6877DC #9AA4E8 #CBD0F3

Accessibility & contrast

On white

3.99
#6877DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#6877DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877DC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877DC#FFFFFF#000000##000000
##6877DC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#3D7BDA
Tritanopia (blue-blind)
#328D9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6877dc;
/* rgb */ color: rgb(104, 119, 220);
/* oklch */ color: oklch(60.6% 0.153 274.6);
Tailwind
colors: {
  custom: {
    50: '#9b9ee7',
    500: '#6877dc',
    950: '#000000',
  },
}
SCSS
$custom: #6877dc;
$custom-light: #9b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6877dc",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 232.241,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.15292,
    "h": 274.6
  },
  "luminance": 0.21304
}

Semantic roles & 50–950 ramp

primary
#6877DC
secondary
#E4DFBB
accent
#B41BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6877DC

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

Preview Lab → · Contrast checker → · Palette generator →

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