#788198#788198

#788198 is a mid, muted blue. Relative luminance 0.220; OKLCH L 60.4% C 0.037 H 268.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#788198
RGBrgb(120, 129, 152)
HSLhsl(223, 13%, 53%)
HSVhsv(223, 21%, 60%)
CMYKcmyk(21.1%, 15.1%, 0%, 40.4%)
CIE-LABlab(53.98, 1.87, -13.43)
CIE-LCHlch(53.98, 13.56, 277.91°)
OKLaboklab(60.39% -0.001 -0.0366)
OKLCHoklch(60.39% 0.037 268.4)
XYZxyz(21.2621, 21.9601, 32.8182)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788198 #988F78
analogous
#789198 #788198 #7F7898
triadic
#788198 #987881 #819878
tetradic
#788198 #987891 #988F78 #78987F
square
#788198 #987891 #988F78 #78987F
split-complementary
#788198 #987F78 #919878
monochromatic
#414655 #5B6378 #788198 #9BA1B2 #BDC2CD

Accessibility & contrast

On white

3.89
#788198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#788198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788198
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788198#FFFFFF#000000##000000
##7881981.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8399
Deuteranopia (green-blind)
#788097
Tritanopia (blue-blind)
#708588
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #788198;
/* rgb */ color: rgb(120, 129, 152);
/* oklch */ color: oklch(60.4% 0.037 268.4);
Tailwind
colors: {
  custom: {
    50: '#9fa5b6',
    500: '#788198',
    950: '#000000',
  },
}
SCSS
$custom: #788198;
$custom-light: #9fa5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#788198",
  "rgb": {
    "r": 120,
    "g": 129,
    "b": 152
  },
  "hsl": {
    "h": 223.125,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.0366,
    "h": 268.4
  },
  "luminance": 0.21961
}

Semantic roles & 50–950 ramp

primary
#788198
secondary
#BDB9AF
accent
#A372B6
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #788198

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

Preview Lab → · Contrast checker → · Palette generator →

#788198 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva