#798396#798396

#798396 is a mid, muted blue. Relative luminance 0.225; OKLCH L 60.8% C 0.031 H 263.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#798396
RGBrgb(121, 131, 150)
HSLhsl(219, 12%, 53%)
HSVhsv(219, 19%, 59%)
CMYKcmyk(19.3%, 12.7%, 0%, 41.2%)
CIE-LABlab(54.55, 0.57, -11.41)
CIE-LCHlch(54.55, 11.42, 272.86°)
OKLaboklab(60.83% -0.0036 -0.031)
OKLCHoklch(60.83% 0.031 263.3)
XYZxyz(21.5051, 22.4991, 32.0580)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798396 #968C79
analogous
#799196 #798396 #7D7996
triadic
#798396 #967983 #839679
tetradic
#798396 #967991 #968C79 #79967D
square
#798396 #967991 #968C79 #79967D
split-complementary
#798396 #967D79 #919679
monochromatic
#414853 #5C6576 #798396 #9BA3B1 #BEC3CC

Accessibility & contrast

On white

3.82
#798396 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#798396 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798396
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798396#FFFFFF#000000##000000
##7983961.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8497
Deuteranopia (green-blind)
#7A8196
Tritanopia (blue-blind)
#728789
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798396;
/* rgb */ color: rgb(121, 131, 150);
/* oklch */ color: oklch(60.8% 0.031 263.3);
Tailwind
colors: {
  custom: {
    50: '#a0a7b4',
    500: '#798396',
    950: '#000000',
  },
}
SCSS
$custom: #798396;
$custom-light: #a0a7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#798396",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 150
  },
  "hsl": {
    "h": 219.31,
    "s": 12.134,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60834,
    "c": 0.0312,
    "h": 263.3
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798396

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

Preview Lab → · Contrast checker → · Palette generator →

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