#878CA2#878CA2

#878CA2 is a light, muted blue. Relative luminance 0.265; OKLCH L 64.3% C 0.033 H 275.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#878CA2
RGBrgb(135, 140, 162)
HSLhsl(229, 13%, 58%)
HSVhsv(229, 17%, 64%)
CMYKcmyk(16.7%, 13.6%, 0%, 36.5%)
CIE-LABlab(58.52, 2.90, -12.24)
CIE-LCHlch(58.52, 12.57, 283.32°)
OKLaboklab(64.35% 0.0031 -0.0332)
OKLCHoklch(64.35% 0.033 275.3)
XYZxyz(25.8898, 26.5153, 37.9294)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878CA2 #A29D87
analogous
#8799A2 #878CA2 #8F87A2
triadic
#878CA2 #A2878C #8CA287
tetradic
#878CA2 #A28799 #A29D87 #87A28F
square
#878CA2 #A28799 #A29D87 #87A28F
split-complementary
#878CA2 #A28F87 #99A287
monochromatic
#4C5062 #676C85 #878CA2 #A9ADBD #CCCED7

Accessibility & contrast

On white

3.33
#878CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#878CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878CA2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878CA2#FFFFFF#000000##000000
##878CA21.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#848CA1
Tritanopia (blue-blind)
#819093
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #878ca2;
/* rgb */ color: rgb(135, 140, 162);
/* oklch */ color: oklch(64.3% 0.033 275.3);
Tailwind
colors: {
  custom: {
    50: '#aaadbd',
    500: '#878ca2',
    950: '#000000',
  },
}
SCSS
$custom: #878ca2;
$custom-light: #aaadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#878ca2",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 228.889,
    "s": 12.676,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64346,
    "c": 0.03332,
    "h": 275.3
  },
  "luminance": 0.26516
}

Semantic roles & 50–950 ramp

primary
#878CA2
secondary
#C8C6BD
accent
#A972B6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #878CA2

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

Preview Lab → · Contrast checker → · Palette generator →

#878CA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva