#8798BD#8798BD

#8798BD is a light, muted blue. Relative luminance 0.313; OKLCH L 68.0% C 0.058 H 265.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8798BD
RGBrgb(135, 152, 189)
HSLhsl(221, 29%, 64%)
HSVhsv(221, 29%, 74%)
CMYKcmyk(28.6%, 19.6%, 0%, 25.9%)
CIE-LABlab(62.74, 2.54, -21.14)
CIE-LCHlch(62.74, 21.29, 276.84°)
OKLaboklab(67.96% -0.0045 -0.0581)
OKLCHoklch(67.96% 0.058 265.6)
XYZxyz(30.4027, 31.2805, 52.5701)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798BD #BDAC87
analogous
#87B3BD #8798BD #9187BD
triadic
#8798BD #BD8798 #98BD87
tetradic
#8798BD #BD87B3 #BDAC87 #87BD91
square
#8798BD #BD87B3 #BDAC87 #87BD91
split-complementary
#8798BD #BD9187 #B3BD87
monochromatic
#485A82 #6076A7 #8798BD #AEBAD3 #D6DCE8

Accessibility & contrast

On white

2.89
#8798BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#8798BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798BD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798BD#FFFFFF#000000##000000
##8798BD1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ABF
Deuteranopia (green-blind)
#8796BC
Tritanopia (blue-blind)
#789FA4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8798bd;
/* rgb */ color: rgb(135, 152, 189);
/* oklch */ color: oklch(68.0% 0.058 265.6);
Tailwind
colors: {
  custom: {
    50: '#abb6d1',
    500: '#8798bd',
    950: '#000000',
  },
}
SCSS
$custom: #8798bd;
$custom-light: #abb6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8798bd",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 221.111,
    "s": 29.032,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.05826,
    "h": 265.6
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#8798BD
secondary
#D9D3C6
accent
#863EA8
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#101114
muted
#7F8082

Preview Lab

Preview with #8798BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8798BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva