#798FAC#798FAC

#798FAC is a light, muted cyan. Relative luminance 0.267; OKLCH L 64.3% C 0.050 H 255.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#798FAC
RGBrgb(121, 143, 172)
HSLhsl(214, 24%, 57%)
HSVhsv(214, 30%, 67%)
CMYKcmyk(29.7%, 16.9%, 0%, 32.5%)
CIE-LABlab(58.68, -0.91, -17.80)
CIE-LCHlch(58.68, 17.82, 267.08°)
OKLaboklab(64.33% -0.0127 -0.0488)
OKLCHoklch(64.33% 0.05 255.4)
XYZxyz(25.1519, 26.6875, 42.8477)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798FAC #AC9679
analogous
#79A8AC #798FAC #7D79AC
triadic
#798FAC #AC798F #8FAC79
tetradic
#798FAC #AC79A8 #AC9679 #79AC7D
square
#798FAC #AC79A8 #AC9679 #79AC7D
split-complementary
#798FAC #AC7D79 #A8AC79
monochromatic
#415369 #59708F #798FAC #9FAFC3 #C5CEDB

Accessibility & contrast

On white

3.31
#798FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#798FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798FAC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798FAC#FFFFFF#000000##000000
##798FAC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AD
Deuteranopia (green-blind)
#7F8BAB
Tritanopia (blue-blind)
#6A9598
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #798fac;
/* rgb */ color: rgb(121, 143, 172);
/* oklch */ color: oklch(64.3% 0.050 255.4);
Tailwind
colors: {
  custom: {
    50: '#a1afc4',
    500: '#798fac',
    950: '#000000',
  },
}
SCSS
$custom: #798fac;
$custom-light: #a1afc4;
$custom-dark: #000000;
JSON
{
  "hex": "#798fac",
  "rgb": {
    "r": 121,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 214.118,
    "s": 23.502,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6433,
    "c": 0.05046,
    "h": 255.4
  },
  "luminance": 0.26688
}

Semantic roles & 50–950 ramp

primary
#798FAC
secondary
#CBC2B6
accent
#9A68C0
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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