#798496#798496

#798496 is a mid, muted blue. Relative luminance 0.228; OKLCH L 61.1% C 0.030 H 260.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#798496
RGBrgb(121, 132, 150)
HSLhsl(217, 12%, 53%)
HSVhsv(217, 19%, 59%)
CMYKcmyk(19.3%, 12%, 0%, 41.2%)
CIE-LABlab(54.83, -0.01, -10.99)
CIE-LCHlch(54.83, 10.99, 269.97°)
OKLaboklab(61.06% -0.0051 -0.0298)
OKLCHoklch(61.06% 0.03 260.3)
XYZxyz(21.6401, 22.7690, 32.1030)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798496 #968B79
analogous
#799296 #798496 #7C7996
triadic
#798496 #967984 #849679
tetradic
#798496 #967992 #968B79 #79967C
square
#798496 #967992 #968B79 #79967C
split-complementary
#798496 #967C79 #929679
monochromatic
#414853 #5C6676 #798496 #9BA3B1 #BEC3CC

Accessibility & contrast

On white

3.78
#798496 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##798496#FFFFFF#000000##000000
##7984961.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8597
Deuteranopia (green-blind)
#7B8296
Tritanopia (blue-blind)
#72888A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798496;
/* rgb */ color: rgb(121, 132, 150);
/* oklch */ color: oklch(61.1% 0.030 260.3);
Tailwind
colors: {
  custom: {
    50: '#a0a7b4',
    500: '#798496',
    950: '#000000',
  },
}
SCSS
$custom: #798496;
$custom-light: #a0a7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#798496",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 150
  },
  "hsl": {
    "h": 217.241,
    "s": 12.134,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61055,
    "c": 0.03026,
    "h": 260.3
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#798496
secondary
#BCB7AF
accent
#9C73B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798496

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

Preview Lab → · Contrast checker → · Palette generator →

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