#798596#798596

#798596 is a mid, muted blue. Relative luminance 0.230; OKLCH L 61.3% C 0.029 H 257.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#798596
RGBrgb(121, 133, 150)
HSLhsl(215, 12%, 53%)
HSVhsv(215, 19%, 59%)
CMYKcmyk(19.3%, 11.3%, 0%, 41.2%)
CIE-LABlab(55.12, -0.58, -10.56)
CIE-LCHlch(55.12, 10.58, 266.86°)
OKLaboklab(61.28% -0.0066 -0.0287)
OKLCHoklch(61.28% 0.029 257.1)
XYZxyz(21.7763, 23.0415, 32.1484)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798596 #968A79
analogous
#799396 #798596 #7B7996
triadic
#798596 #967985 #859679
tetradic
#798596 #967993 #968A79 #79967B
square
#798596 #967993 #968A79 #79967B
split-complementary
#798596 #967B79 #939679
monochromatic
#414953 #5C6776 #798596 #9BA4B1 #BEC3CC

Accessibility & contrast

On white

3.74
#798596 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#798596 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798596
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798596#FFFFFF#000000##000000
##7985961.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8697
Deuteranopia (green-blind)
#7C8396
Tritanopia (blue-blind)
#72898A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798596;
/* rgb */ color: rgb(121, 133, 150);
/* oklch */ color: oklch(61.3% 0.029 257.1);
Tailwind
colors: {
  custom: {
    50: '#a0a8b4',
    500: '#798596',
    950: '#000000',
  },
}
SCSS
$custom: #798596;
$custom-light: #a0a8b4;
$custom-dark: #000000;
JSON
{
  "hex": "#798596",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 150
  },
  "hsl": {
    "h": 215.172,
    "s": 12.134,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.02942,
    "h": 257.1
  },
  "luminance": 0.23042
}

Semantic roles & 50–950 ramp

primary
#798596
secondary
#BCB6AF
accent
#9A73B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798596

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

Preview Lab → · Contrast checker → · Palette generator →

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