#798DAB#798DAB

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

Color values

HEX#798DAB
RGBrgb(121, 141, 171)
HSLhsl(216, 23%, 57%)
HSVhsv(216, 29%, 67%)
CMYKcmyk(29.2%, 17.5%, 0%, 32.9%)
CIE-LABlab(58.09, -0.02, -18.13)
CIE-LCHlch(58.09, 18.13, 269.93°)
OKLaboklab(63.85% -0.0103 -0.0498)
OKLCHoklch(63.85% 0.051 258.4)
XYZxyz(24.7586, 26.0541, 42.2446)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798DAB #AB9779
analogous
#79A6AB #798DAB #7E79AB
triadic
#798DAB #AB798D #8DAB79
tetradic
#798DAB #AB79A6 #AB9779 #79AB7E
square
#798DAB #AB79A6 #AB9779 #79AB7E
split-complementary
#798DAB #AB7E79 #A6AB79
monochromatic
#415168 #596E8E #798DAB #9FADC3 #C4CDDA

Accessibility & contrast

On white

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

On black

6.21
#798DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798DAB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798DAB#FFFFFF#000000##000000
##798DAB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAC
Deuteranopia (green-blind)
#7D89AA
Tritanopia (blue-blind)
#6B9397
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #798dab;
/* rgb */ color: rgb(121, 141, 171);
/* oklch */ color: oklch(63.9% 0.051 258.4);
Tailwind
colors: {
  custom: {
    50: '#a1aec4',
    500: '#798dab',
    950: '#000000',
  },
}
SCSS
$custom: #798dab;
$custom-light: #a1aec4;
$custom-dark: #000000;
JSON
{
  "hex": "#798dab",
  "rgb": {
    "r": 121,
    "g": 141,
    "b": 171
  },
  "hsl": {
    "h": 216,
    "s": 22.936,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63851,
    "c": 0.05082,
    "h": 258.4
  },
  "luminance": 0.26055
}

Semantic roles & 50–950 ramp

primary
#798DAB
secondary
#CAC2B6
accent
#9D68BF
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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