#798EA6#798EA6

#798EA6 is a light, muted cyan. Relative luminance 0.262; OKLCH L 63.9% C 0.043 H 251.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#798EA6
RGBrgb(121, 142, 166)
HSLhsl(212, 20%, 56%)
HSVhsv(212, 27%, 65%)
CMYKcmyk(27.1%, 14.5%, 0%, 34.9%)
CIE-LABlab(58.19, -1.85, -15.12)
CIE-LCHlch(58.19, 15.23, 263.04°)
OKLaboklab(63.87% -0.0135 -0.0413)
OKLCHoklch(63.87% 0.043 251.9)
XYZxyz(24.4391, 26.1633, 39.8314)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798EA6 #A69179
analogous
#79A5A6 #798EA6 #7B79A6
triadic
#798EA6 #A6798E #8EA679
tetradic
#798EA6 #A679A5 #A69179 #79A67B
square
#798EA6 #A679A5 #A69179 #79A67B
split-complementary
#798EA6 #A67B79 #A5A679
monochromatic
#425163 #5A6F88 #798EA6 #9EADBE #C3CCD7

Accessibility & contrast

On white

3.37
#798EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#798EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798EA6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798EA6#FFFFFF#000000##000000
##798EA61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#808AA6
Tritanopia (blue-blind)
#6C9396
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798ea6;
/* rgb */ color: rgb(121, 142, 166);
/* oklch */ color: oklch(63.9% 0.043 251.9);
Tailwind
colors: {
  custom: {
    50: '#a0afc0',
    500: '#798ea6',
    950: '#000000',
  },
}
SCSS
$custom: #798ea6;
$custom-light: #a0afc0;
$custom-dark: #000000;
JSON
{
  "hex": "#798ea6",
  "rgb": {
    "r": 121,
    "g": 142,
    "b": 166
  },
  "hsl": {
    "h": 212,
    "s": 20.179,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63873,
    "c": 0.04349,
    "h": 251.9
  },
  "luminance": 0.26164
}

Semantic roles & 50–950 ramp

primary
#798EA6
secondary
#C7BEB4
accent
#976BBD
background
#F9FAFB
surface
#F2F4F7
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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