#798296#798296

#798296 is a mid, muted blue. Relative luminance 0.222; OKLCH L 60.6% C 0.032 H 266.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#798296
RGBrgb(121, 130, 150)
HSLhsl(221, 12%, 53%)
HSVhsv(221, 19%, 59%)
CMYKcmyk(19.3%, 13.3%, 0%, 41.2%)
CIE-LABlab(54.27, 1.15, -11.83)
CIE-LCHlch(54.27, 11.89, 275.53°)
OKLaboklab(60.61% -0.0021 -0.0321)
OKLCHoklch(60.61% 0.032 266.2)
XYZxyz(21.3714, 22.2318, 32.0134)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798296 #968D79
analogous
#799096 #798296 #7E7996
triadic
#798296 #967982 #829679
tetradic
#798296 #967990 #968D79 #79967E
square
#798296 #967990 #968D79 #79967E
split-complementary
#798296 #967E79 #909679
monochromatic
#414753 #5C6476 #798296 #9BA2B1 #BEC2CC

Accessibility & contrast

On white

3.86
#798296 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#798296 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798296
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798296#FFFFFF#000000##000000
##7982961.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8397
Deuteranopia (green-blind)
#798196
Tritanopia (blue-blind)
#728688
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798296;
/* rgb */ color: rgb(121, 130, 150);
/* oklch */ color: oklch(60.6% 0.032 266.2);
Tailwind
colors: {
  custom: {
    50: '#a0a6b4',
    500: '#798296',
    950: '#000000',
  },
}
SCSS
$custom: #798296;
$custom-light: #a0a6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#798296",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 150
  },
  "hsl": {
    "h": 221.379,
    "s": 12.134,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.03221,
    "h": 266.2
  },
  "luminance": 0.22232
}

Semantic roles & 50–950 ramp

primary
#798296
secondary
#BCB8AF
accent
#A073B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798296

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

Preview Lab → · Contrast checker → · Palette generator →

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