#788098#788098

#788098 is a mid, muted blue. Relative luminance 0.217; OKLCH L 60.2% C 0.038 H 270.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#788098
RGBrgb(120, 128, 152)
HSLhsl(225, 13%, 53%)
HSVhsv(225, 21%, 60%)
CMYKcmyk(21.1%, 15.8%, 0%, 40.4%)
CIE-LABlab(53.71, 2.45, -13.86)
CIE-LCHlch(53.71, 14.07, 280.01°)
OKLaboklab(60.17% 0.0005 -0.0377)
OKLCHoklch(60.17% 0.038 270.7)
XYZxyz(21.1310, 21.6980, 32.7745)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#788098 #989078
analogous
#789098 #788098 #807898
triadic
#788098 #987880 #809878
tetradic
#788098 #987890 #989078 #789880
square
#788098 #987890 #989078 #789880
split-complementary
#788098 #988078 #909878
monochromatic
#414655 #5B6278 #788098 #9BA1B2 #BDC1CD

Accessibility & contrast

On white

3.93
#788098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#788098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #788098
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##788098#FFFFFF#000000##000000
##7880981.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#798299
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#708488
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #788098;
/* rgb */ color: rgb(120, 128, 152);
/* oklch */ color: oklch(60.2% 0.038 270.7);
Tailwind
colors: {
  custom: {
    50: '#9fa4b6',
    500: '#788098',
    950: '#000000',
  },
}
SCSS
$custom: #788098;
$custom-light: #9fa4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#788098",
  "rgb": {
    "r": 120,
    "g": 128,
    "b": 152
  },
  "hsl": {
    "h": 225,
    "s": 13.445,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.03775,
    "h": 270.7
  },
  "luminance": 0.21698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #788098

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

Preview Lab → · Contrast checker → · Palette generator →

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