#798E9C#798E9C

#798E9C is a light, muted cyan. Relative luminance 0.258; OKLCH L 63.5% C 0.032 H 237.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#798E9C
RGBrgb(121, 142, 156)
HSLhsl(204, 15%, 54%)
HSVhsv(204, 22%, 61%)
CMYKcmyk(22.4%, 9%, 0%, 38.8%)
CIE-LABlab(57.86, -4.27, -9.91)
CIE-LCHlch(57.86, 10.79, 246.67°)
OKLaboklab(63.5% -0.0173 -0.0269)
OKLCHoklch(63.5% 0.032 237.2)
XYZxyz(23.5573, 25.8105, 35.1868)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798E9C #9C8779
analogous
#799C99 #798E9C #797D9C
triadic
#798E9C #9C798E #8E9C79
tetradic
#798E9C #99799C #9C8779 #7D9C79
square
#798E9C #99799C #9C8779 #7D9C79
split-complementary
#798E9C #9C797D #9C9979
monochromatic
#425059 #5C6F7C #798E9C #9CACB6 #BFC9D0

Accessibility & contrast

On white

3.41
#798E9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#798E9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798E9C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798E9C#FFFFFF#000000##000000
##798E9C1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#888D9D
Deuteranopia (green-blind)
#83899C
Tritanopia (blue-blind)
#6F9292
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798e9c;
/* rgb */ color: rgb(121, 142, 156);
/* oklch */ color: oklch(63.5% 0.032 237.2);
Tailwind
colors: {
  custom: {
    50: '#a0afb9',
    500: '#798e9c',
    950: '#000000',
  },
}
SCSS
$custom: #798e9c;
$custom-light: #a0afb9;
$custom-dark: #000000;
JSON
{
  "hex": "#798e9c",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 156
  },
  "hsl": {
    "h": 204,
    "s": 15.021,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63499,
    "c": 0.03202,
    "h": 237.2
  },
  "luminance": 0.25811
}

Semantic roles & 50–950 ramp

primary
#798E9C
secondary
#C0B7B1
accent
#8D70B8
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E1011
muted
#7E7F80

Preview Lab

Preview with #798E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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