#798CA9#798CA9

#798CA9 is a light, muted blue. Relative luminance 0.257; OKLCH L 63.6% C 0.049 H 258.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#798CA9
RGBrgb(121, 140, 169)
HSLhsl(216, 22%, 57%)
HSVhsv(216, 28%, 66%)
CMYKcmyk(28.4%, 17.2%, 0%, 33.7%)
CIE-LABlab(57.74, 0.04, -17.52)
CIE-LCHlch(57.74, 17.53, 270.14°)
OKLaboklab(63.55% -0.0096 -0.0481)
OKLCHoklch(63.55% 0.049 258.7)
XYZxyz(24.4226, 25.6848, 41.1993)
Luminance0.2569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CA9 #A99679
analogous
#79A4A9 #798CA9 #7E79A9
triadic
#798CA9 #A9798C #8CA979
tetradic
#798CA9 #A979A4 #A99679 #79A97E
square
#798CA9 #A979A4 #A99679 #79A97E
split-complementary
#798CA9 #A97E79 #A4A979
monochromatic
#425066 #596D8B #798CA9 #9EACC1 #C4CCD9

Accessibility & contrast

On white

3.42
#798CA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#798CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CA9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CA9#FFFFFF#000000##000000
##798CA91.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#828DAA
Deuteranopia (green-blind)
#7D89A8
Tritanopia (blue-blind)
#6C9296
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798ca9;
/* rgb */ color: rgb(121, 140, 169);
/* oklch */ color: oklch(63.6% 0.049 258.7);
Tailwind
colors: {
  custom: {
    50: '#a0adc2',
    500: '#798ca9',
    950: '#000000',
  },
}
SCSS
$custom: #798ca9;
$custom-light: #a0adc2;
$custom-dark: #000000;
JSON
{
  "hex": "#798ca9",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 169
  },
  "hsl": {
    "h": 216.25,
    "s": 21.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63551,
    "c": 0.049,
    "h": 258.7
  },
  "luminance": 0.25686
}

Semantic roles & 50–950 ramp

primary
#798CA9
secondary
#C9C1B5
accent
#9D69BE
background
#F9FAFB
surface
#F2F4F7
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798CA9

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

Preview Lab → · Contrast checker → · Palette generator →

#798CA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva