#8798BF#8798BF

#8798BF is a light, moderate blue. Relative luminance 0.314; OKLCH L 68.0% C 0.061 H 266.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8798BF
RGBrgb(135, 152, 191)
HSLhsl(222, 30%, 64%)
HSVhsv(222, 29%, 75%)
CMYKcmyk(29.3%, 20.4%, 0%, 25.1%)
CIE-LABlab(62.82, 3.04, -22.15)
CIE-LCHlch(62.82, 22.35, 277.81°)
OKLaboklab(68.04% -0.0038 -0.0609)
OKLCHoklch(68.04% 0.061 266.4)
XYZxyz(30.6212, 31.3679, 53.7213)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8798BF #BFAE87
analogous
#87B4BF #8798BF #9287BF
triadic
#8798BF #BF8798 #98BF87
tetradic
#8798BF #BF87B4 #BFAE87 #87BF92
square
#8798BF #BF87B4 #BFAE87 #87BF92
split-complementary
#8798BF #BF9287 #B4BF87
monochromatic
#475A85 #5F76AA #8798BF #AFBAD4 #D7DDEA

Accessibility & contrast

On white

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

On black

7.27
#8798BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8798BF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8798BF#FFFFFF#000000##000000
##8798BF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9BC1
Deuteranopia (green-blind)
#8796BE
Tritanopia (blue-blind)
#78A0A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8798bf;
/* rgb */ color: rgb(135, 152, 191);
/* oklch */ color: oklch(68.0% 0.061 266.4);
Tailwind
colors: {
  custom: {
    50: '#abb6d2',
    500: '#8798bf',
    950: '#000000',
  },
}
SCSS
$custom: #8798bf;
$custom-light: #abb6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8798bf",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 221.786,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68042,
    "c": 0.06106,
    "h": 266.4
  },
  "luminance": 0.31369
}

Semantic roles & 50–950 ramp

primary
#8798BF
secondary
#DBD5C7
accent
#883CA9
background
#FAFBFC
surface
#F4F6F9
border
#CED0D2
text
#101114
muted
#7F8082

Preview Lab

Preview with #8798BF

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

Preview Lab → · Contrast checker → · Palette generator →

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