#798294#798294

#798294 is a mid, muted blue. Relative luminance 0.222; OKLCH L 60.5% C 0.029 H 264.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#798294
RGBrgb(121, 130, 148)
HSLhsl(220, 11%, 53%)
HSVhsv(220, 18%, 58%)
CMYKcmyk(18.2%, 12.2%, 0%, 42%)
CIE-LABlab(54.20, 0.68, -10.77)
CIE-LCHlch(54.20, 10.79, 273.60°)
OKLaboklab(60.54% -0.0029 -0.0292)
OKLCHoklch(60.54% 0.029 264.3)
XYZxyz(21.2118, 22.1679, 31.1725)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798294 #948B79
analogous
#798F94 #798294 #7D7994
triadic
#798294 #947982 #829479
tetradic
#798294 #94798F #948B79 #79947D
square
#798294 #94798F #948B79 #79947D
split-complementary
#798294 #947D79 #8F9479
monochromatic
#414752 #5C6474 #798294 #9BA2AF #BDC1CA

Accessibility & contrast

On white

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

On black

5.43
#798294 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798294
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798294#FFFFFF#000000##000000
##7982941.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8395
Deuteranopia (green-blind)
#7A8194
Tritanopia (blue-blind)
#738688
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798294;
/* rgb */ color: rgb(121, 130, 148);
/* oklch */ color: oklch(60.5% 0.029 264.3);
Tailwind
colors: {
  custom: {
    50: '#a0a6b3',
    500: '#798294',
    950: '#000000',
  },
}
SCSS
$custom: #798294;
$custom-light: #a0a6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#798294",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 11.203,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.02936,
    "h": 264.3
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#798294
secondary
#BAB6AF
accent
#9F74B4
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #798294

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

Preview Lab → · Contrast checker → · Palette generator →

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