#798CAA#798CAA

#798CAA is a light, muted blue. Relative luminance 0.257; OKLCH L 63.6% C 0.050 H 259.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#798CAA
RGBrgb(121, 140, 170)
HSLhsl(217, 22%, 57%)
HSVhsv(217, 29%, 67%)
CMYKcmyk(28.8%, 17.6%, 0%, 33.3%)
CIE-LABlab(57.77, 0.30, -18.04)
CIE-LCHlch(57.77, 18.04, 270.94°)
OKLaboklab(63.59% -0.0092 -0.0495)
OKLCHoklch(63.59% 0.05 259.5)
XYZxyz(24.5169, 25.7225, 41.6956)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CAA #AA9779
analogous
#79A4AA #798CAA #7F79AA
triadic
#798CAA #AA798C #8CAA79
tetradic
#798CAA #AA79A4 #AA9779 #79AA7F
square
#798CAA #AA79A4 #AA9779 #79AA7F
split-complementary
#798CAA #AA7F79 #A4AA79
monochromatic
#415067 #596D8D #798CAA #9EACC2 #C4CCDA

Accessibility & contrast

On white

3.42
#798CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#798CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CAA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CAA#FFFFFF#000000##000000
##798CAA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#828DAB
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#6B9296
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #798caa;
/* rgb */ color: rgb(121, 140, 170);
/* oklch */ color: oklch(63.6% 0.050 259.5);
Tailwind
colors: {
  custom: {
    50: '#a0adc3',
    500: '#798caa',
    950: '#000000',
  },
}
SCSS
$custom: #798caa;
$custom-light: #a0adc3;
$custom-dark: #000000;
JSON
{
  "hex": "#798caa",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 170
  },
  "hsl": {
    "h": 216.735,
    "s": 22.374,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.05036,
    "h": 259.5
  },
  "luminance": 0.25723
}

Semantic roles & 50–950 ramp

primary
#798CAA
secondary
#C9C2B5
accent
#9E69BF
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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