#798295#798295

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

Color values

HEX#798295
RGBrgb(121, 130, 149)
HSLhsl(221, 12%, 53%)
HSVhsv(221, 19%, 58%)
CMYKcmyk(18.8%, 12.8%, 0%, 41.6%)
CIE-LABlab(54.24, 0.91, -11.30)
CIE-LCHlch(54.24, 11.34, 274.61°)
OKLaboklab(60.58% -0.0025 -0.0307)
OKLCHoklch(60.58% 0.031 265.3)
XYZxyz(21.2913, 22.1997, 31.5912)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798295 #958C79
analogous
#799095 #798295 #7E7995
triadic
#798295 #957982 #829579
tetradic
#798295 #957990 #958C79 #79957E
square
#798295 #957990 #958C79 #79957E
split-complementary
#798295 #957E79 #909579
monochromatic
#414752 #5C6475 #798295 #9BA2B0 #BDC2CB

Accessibility & contrast

On white

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

On black

5.44
#798295 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798295
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798295#FFFFFF#000000##000000
##7982951.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798295;
/* rgb */ color: rgb(121, 130, 149);
/* oklch */ color: oklch(60.6% 0.031 265.3);
Tailwind
colors: {
  custom: {
    50: '#a0a6b4',
    500: '#798295',
    950: '#000000',
  },
}
SCSS
$custom: #798295;
$custom-light: #a0a6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#798295",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 149
  },
  "hsl": {
    "h": 220.714,
    "s": 11.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.03078,
    "h": 265.3
  },
  "luminance": 0.222
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798295

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

Preview Lab → · Contrast checker → · Palette generator →

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