#798DA7#798DA7

#798DA7 is a light, muted cyan. Relative luminance 0.259; OKLCH L 63.7% C 0.046 H 255.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#798DA7
RGBrgb(121, 141, 167)
HSLhsl(214, 21%, 56%)
HSVhsv(214, 28%, 65%)
CMYKcmyk(27.5%, 15.6%, 0%, 34.5%)
CIE-LABlab(57.95, -1.03, -16.07)
CIE-LCHlch(57.95, 16.10, 266.33°)
OKLaboklab(63.69% -0.0117 -0.044)
OKLCHoklch(63.69% 0.046 255.1)
XYZxyz(24.3831, 25.9039, 40.2670)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DA7 #A79379
analogous
#79A4A7 #798DA7 #7C79A7
triadic
#798DA7 #A7798D #8DA779
tetradic
#798DA7 #A779A4 #A79379 #79A77C
square
#798DA7 #A779A4 #A79379 #79A77C
split-complementary
#798DA7 #A77C79 #A4A779
monochromatic
#425164 #5A6E89 #798DA7 #9EACBF #C3CCD8

Accessibility & contrast

On white

3.40
#798DA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#798DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DA7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DA7#FFFFFF#000000##000000
##798DA71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848EA8
Deuteranopia (green-blind)
#7F89A6
Tritanopia (blue-blind)
#6C9395
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798da7;
/* rgb */ color: rgb(121, 141, 167);
/* oklch */ color: oklch(63.7% 0.046 255.1);
Tailwind
colors: {
  custom: {
    50: '#a0aec1',
    500: '#798da7',
    950: '#000000',
  },
}
SCSS
$custom: #798da7;
$custom-light: #a0aec1;
$custom-dark: #000000;
JSON
{
  "hex": "#798da7",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 167
  },
  "hsl": {
    "h": 213.913,
    "s": 20.721,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.04551,
    "h": 255.1
  },
  "luminance": 0.25905
}

Semantic roles & 50–950 ramp

primary
#798DA7
secondary
#C7BFB4
accent
#996BBD
background
#F9FAFB
surface
#F2F4F7
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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