#798FA8#798FA8

#798FA8 is a light, muted cyan. Relative luminance 0.265; OKLCH L 64.2% C 0.045 H 251.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#798FA8
RGBrgb(121, 143, 168)
HSLhsl(212, 21%, 57%)
HSVhsv(212, 28%, 66%)
CMYKcmyk(28%, 14.9%, 0%, 34.1%)
CIE-LABlab(58.54, -1.91, -15.73)
CIE-LCHlch(58.54, 15.85, 263.06°)
OKLaboklab(64.17% -0.0141 -0.0431)
OKLCHoklch(64.17% 0.045 251.8)
XYZxyz(24.7735, 26.5361, 40.8549)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FA8 #A89279
analogous
#79A7A8 #798FA8 #7B79A8
triadic
#798FA8 #A8798F #8FA879
tetradic
#798FA8 #A879A7 #A89279 #79A87B
square
#798FA8 #A879A7 #A89279 #79A87B
split-complementary
#798FA8 #A87B79 #A7A879
monochromatic
#425265 #5A708A #798FA8 #9EAEC0 #C3CDD8

Accessibility & contrast

On white

3.33
#798FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#798FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FA8
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FA8#FFFFFF#000000##000000
##798FA81.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA9
Deuteranopia (green-blind)
#808BA7
Tritanopia (blue-blind)
#6C9597
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798fa8;
/* rgb */ color: rgb(121, 143, 168);
/* oklch */ color: oklch(64.2% 0.045 251.8);
Tailwind
colors: {
  custom: {
    50: '#a0afc1',
    500: '#798fa8',
    950: '#000000',
  },
}
SCSS
$custom: #798fa8;
$custom-light: #a0afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#798fa8",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 168
  },
  "hsl": {
    "h": 211.915,
    "s": 21.267,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64172,
    "c": 0.04533,
    "h": 251.8
  },
  "luminance": 0.26537
}

Semantic roles & 50–950 ramp

primary
#798FA8
secondary
#C8BFB5
accent
#976ABE
background
#F9FAFB
surface
#F2F4F7
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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