#798CA5#798CA5

#798CA5 is a light, muted cyan. Relative luminance 0.255; OKLCH L 63.4% C 0.044 H 255.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#798CA5
RGBrgb(121, 140, 165)
HSLhsl(214, 20%, 56%)
HSVhsv(214, 27%, 65%)
CMYKcmyk(26.7%, 15.2%, 0%, 35.3%)
CIE-LABlab(57.59, -0.96, -15.45)
CIE-LCHlch(57.59, 15.48, 266.45°)
OKLaboklab(63.39% -0.011 -0.0423)
OKLCHoklch(63.39% 0.044 255.4)
XYZxyz(24.0529, 25.5369, 39.2518)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CA5 #A59279
analogous
#79A2A5 #798CA5 #7C79A5
triadic
#798CA5 #A5798C #8CA579
tetradic
#798CA5 #A579A2 #A59279 #79A57C
square
#798CA5 #A579A2 #A59279 #79A57C
split-complementary
#798CA5 #A57C79 #A2A579
monochromatic
#425062 #5A6D86 #798CA5 #9EABBE #C2CBD6

Accessibility & contrast

On white

3.44
#798CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#798CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CA5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CA5#FFFFFF#000000##000000
##798CA51.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA6
Deuteranopia (green-blind)
#7E88A4
Tritanopia (blue-blind)
#6D9194
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #798ca5;
/* rgb */ color: rgb(121, 140, 165);
/* oklch */ color: oklch(63.4% 0.044 255.4);
Tailwind
colors: {
  custom: {
    50: '#a0adbf',
    500: '#798ca5',
    950: '#000000',
  },
}
SCSS
$custom: #798ca5;
$custom-light: #a0adbf;
$custom-dark: #000000;
JSON
{
  "hex": "#798ca5",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 214.091,
    "s": 19.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63393,
    "c": 0.04369,
    "h": 255.4
  },
  "luminance": 0.25538
}

Semantic roles & 50–950 ramp

primary
#798CA5
secondary
#C6BEB4
accent
#996CBC
background
#F9FAFB
surface
#F2F4F7
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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