#798DAC#798DAC

#798DAC is a light, muted blue. Relative luminance 0.261; OKLCH L 63.9% C 0.052 H 259.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#798DAC
RGBrgb(121, 141, 172)
HSLhsl(216, 24%, 57%)
HSVhsv(216, 30%, 67%)
CMYKcmyk(29.7%, 18%, 0%, 32.5%)
CIE-LABlab(58.12, 0.23, -18.65)
CIE-LCHlch(58.12, 18.65, 270.72°)
OKLaboklab(63.89% -0.0099 -0.0512)
OKLCHoklch(63.89% 0.052 259.1)
XYZxyz(24.8543, 26.0923, 42.7485)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DAC #AC9879
analogous
#79A6AC #798DAC #7F79AC
triadic
#798DAC #AC798D #8DAC79
tetradic
#798DAC #AC79A6 #AC9879 #79AC7F
square
#798DAC #AC79A6 #AC9879 #79AC7F
split-complementary
#798DAC #AC7F79 #A6AC79
monochromatic
#415169 #596E8F #798DAC #9FADC3 #C5CDDB

Accessibility & contrast

On white

3.38
#798DAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#798DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DAC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DAC#FFFFFF#000000##000000
##798DAC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#828EAD
Deuteranopia (green-blind)
#7D8AAB
Tritanopia (blue-blind)
#6B9397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798dac;
/* rgb */ color: rgb(121, 141, 172);
/* oklch */ color: oklch(63.9% 0.052 259.1);
Tailwind
colors: {
  custom: {
    50: '#a1aec4',
    500: '#798dac',
    950: '#000000',
  },
}
SCSS
$custom: #798dac;
$custom-light: #a1aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#798dac",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 172
  },
  "hsl": {
    "h": 216.471,
    "s": 23.502,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63891,
    "c": 0.05217,
    "h": 259.1
  },
  "luminance": 0.26093
}

Semantic roles & 50–950 ramp

primary
#798DAC
secondary
#CBC3B6
accent
#9D68C0
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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