#6877CB#6877CB

#6877CB is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.6% C 0.129 H 274.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6877CB
RGBrgb(104, 119, 203)
HSLhsl(231, 49%, 60%)
HSVhsv(231, 49%, 80%)
CMYKcmyk(48.8%, 41.4%, 0%, 20.4%)
CIE-LABlab(52.34, 17.38, -45.43)
CIE-LCHlch(52.34, 48.64, 290.94°)
OKLaboklab(59.56% 0.0094 -0.1286)
OKLCHoklch(59.56% 0.129 274.2)
XYZxyz(23.0818, 20.4471, 59.2188)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877CB #CBBC68
analogous
#68A8CB #6877CB #8A68CB
triadic
#6877CB #CB6877 #77CB68
tetradic
#6877CB #CB68A8 #CBBC68 #68CB8A
square
#6877CB #CB68A8 #CBBC68 #68CB8A
split-complementary
#6877CB #CB8A68 #A8CB68
monochromatic
#2F3D89 #3F51B7 #6877CB #96A0DB #C3C9EA

Accessibility & contrast

On white

4.13
#6877CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6877CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877CB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877CB#FFFFFF#000000##000000
##6877CB1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#418997
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6877cb;
/* rgb */ color: rgb(104, 119, 203);
/* oklch */ color: oklch(59.6% 0.129 274.2);
Tailwind
colors: {
  custom: {
    50: '#999edb',
    500: '#6877cb',
    950: '#000000',
  },
}
SCSS
$custom: #6877cb;
$custom-light: #999edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6877cb",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 230.909,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.12894,
    "h": 274.2
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#6877CB
secondary
#DAD5B4
accent
#A629BC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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