#798495#798495

#798495 is a mid, muted blue. Relative luminance 0.227; OKLCH L 61.0% C 0.029 H 259.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#798495
RGBrgb(121, 132, 149)
HSLhsl(216, 12%, 53%)
HSVhsv(216, 19%, 58%)
CMYKcmyk(18.8%, 11.4%, 0%, 41.6%)
CIE-LABlab(54.80, -0.24, -10.46)
CIE-LCHlch(54.80, 10.46, 268.69°)
OKLaboklab(61.02% -0.0055 -0.0284)
OKLCHoklch(61.02% 0.029 259)
XYZxyz(21.5599, 22.7369, 31.6807)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798495 #958A79
analogous
#799295 #798495 #7C7995
triadic
#798495 #957984 #849579
tetradic
#798495 #957992 #958A79 #79957C
square
#798495 #957992 #958A79 #79957C
split-complementary
#798495 #957C79 #929579
monochromatic
#414852 #5C6675 #798495 #9BA3B0 #BDC3CB

Accessibility & contrast

On white

3.79
#798495 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#798495 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798495
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798495#FFFFFF#000000##000000
##7984951.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8596
Deuteranopia (green-blind)
#7C8295
Tritanopia (blue-blind)
#728789
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798495;
/* rgb */ color: rgb(121, 132, 149);
/* oklch */ color: oklch(61.0% 0.029 259.0);
Tailwind
colors: {
  custom: {
    50: '#a0a7b4',
    500: '#798495',
    950: '#000000',
  },
}
SCSS
$custom: #798495;
$custom-light: #a0a7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#798495",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 149
  },
  "hsl": {
    "h": 216.429,
    "s": 11.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61018,
    "c": 0.0289,
    "h": 259
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#798495
secondary
#BBB6AF
accent
#9B73B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798495

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

Preview Lab → · Contrast checker → · Palette generator →

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