#798BA2#798BA2

#798BA2 is a light, muted cyan. Relative luminance 0.251; OKLCH L 63.1% C 0.041 H 254.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#798BA2
RGBrgb(121, 139, 162)
HSLhsl(214, 18%, 55%)
HSVhsv(214, 25%, 64%)
CMYKcmyk(25.3%, 14.2%, 0%, 36.5%)
CIE-LABlab(57.21, -1.13, -14.32)
CIE-LCHlch(57.21, 14.36, 265.49°)
OKLaboklab(63.06% -0.0107 -0.0391)
OKLCHoklch(63.06% 0.041 254.7)
XYZxyz(23.6376, 25.1381, 37.7821)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BA2 #A29079
analogous
#799FA2 #798BA2 #7B79A2
triadic
#798BA2 #A2798B #8BA279
tetradic
#798BA2 #A2799F #A29079 #79A27B
square
#798BA2 #A2799F #A29079 #79A27B
split-complementary
#798BA2 #A27B79 #9FA279
monochromatic
#424F5F #5B6C83 #798BA2 #9DAABB #C1CAD4

Accessibility & contrast

On white

3.48
#798BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#798BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BA2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BA2#FFFFFF#000000##000000
##798BA21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#7E88A2
Tritanopia (blue-blind)
#6E9092
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #798ba2;
/* rgb */ color: rgb(121, 139, 162);
/* oklch */ color: oklch(63.1% 0.041 254.7);
Tailwind
colors: {
  custom: {
    50: '#a0acbd',
    500: '#798ba2',
    950: '#000000',
  },
}
SCSS
$custom: #798ba2;
$custom-light: #a0acbd;
$custom-dark: #000000;
JSON
{
  "hex": "#798ba2",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 213.659,
    "s": 18.062,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.04055,
    "h": 254.7
  },
  "luminance": 0.25139
}

Semantic roles & 50–950 ramp

primary
#798BA2
secondary
#C4BCB3
accent
#996DBB
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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