#798CAB#798CAB

#798CAB is a light, muted blue. Relative luminance 0.258; OKLCH L 63.6% C 0.052 H 260.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#798CAB
RGBrgb(121, 140, 171)
HSLhsl(217, 23%, 57%)
HSVhsv(217, 29%, 67%)
CMYKcmyk(29.2%, 18.1%, 0%, 32.9%)
CIE-LABlab(57.81, 0.55, -18.56)
CIE-LCHlch(57.81, 18.57, 271.70°)
OKLaboklab(63.63% -0.0088 -0.051)
OKLCHoklch(63.63% 0.052 260.1)
XYZxyz(24.6118, 25.7605, 42.1957)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798CAB #AB9879
analogous
#79A5AB #798CAB #7F79AB
triadic
#798CAB #AB798C #8CAB79
tetradic
#798CAB #AB79A5 #AB9879 #79AB7F
square
#798CAB #AB79A5 #AB9879 #79AB7F
split-complementary
#798CAB #AB7F79 #A5AB79
monochromatic
#415068 #596D8E #798CAB #9FACC3 #C4CDDA

Accessibility & contrast

On white

3.41
#798CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#798CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798CAB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798CAB#FFFFFF#000000##000000
##798CAB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798cab;
/* rgb */ color: rgb(121, 140, 171);
/* oklch */ color: oklch(63.6% 0.052 260.1);
Tailwind
colors: {
  custom: {
    50: '#a1adc4',
    500: '#798cab',
    950: '#000000',
  },
}
SCSS
$custom: #798cab;
$custom-light: #a1adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#798cab",
  "rgb": {
    "r": 121,
    "g": 140,
    "b": 171
  },
  "hsl": {
    "h": 217.2,
    "s": 22.936,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63632,
    "c": 0.05172,
    "h": 260.1
  },
  "luminance": 0.25761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #798CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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