#798BAE#798BAE

#798BAE is a light, muted blue. Relative luminance 0.256; OKLCH L 63.5% C 0.057 H 263.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#798BAE
RGBrgb(121, 139, 174)
HSLhsl(220, 25%, 58%)
HSVhsv(220, 30%, 68%)
CMYKcmyk(30.5%, 20.1%, 0%, 31.8%)
CIE-LABlab(57.64, 1.89, -20.53)
CIE-LCHlch(57.64, 20.61, 275.27°)
OKLaboklab(63.54% -0.0064 -0.0565)
OKLCHoklch(63.54% 0.057 263.5)
XYZxyz(24.7556, 25.5853, 43.6703)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BAE #AE9C79
analogous
#79A5AE #798BAE #8279AE
triadic
#798BAE #AE798B #8BAE79
tetradic
#798BAE #AE79A5 #AE9C79 #79AE82
square
#798BAE #AE79A5 #AE9C79 #79AE82
split-complementary
#798BAE #AE8279 #A5AE79
monochromatic
#414F6C #586C92 #798BAE #9FACC5 #C5CDDC

Accessibility & contrast

On white

3.43
#798BAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#798BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BAE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BAE#FFFFFF#000000##000000
##798BAE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DB0
Deuteranopia (green-blind)
#7A88AD
Tritanopia (blue-blind)
#6A9297
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #798bae;
/* rgb */ color: rgb(121, 139, 174);
/* oklch */ color: oklch(63.5% 0.057 263.5);
Tailwind
colors: {
  custom: {
    50: '#a1acc6',
    500: '#798bae',
    950: '#000000',
  },
}
SCSS
$custom: #798bae;
$custom-light: #a1acc6;
$custom-dark: #000000;
JSON
{
  "hex": "#798bae",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 174
  },
  "hsl": {
    "h": 219.623,
    "s": 24.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63537,
    "c": 0.05686,
    "h": 263.5
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#798BAE
secondary
#CCC5B7
accent
#A267C1
background
#FAFAFC
surface
#F3F4F8
border
#CDCED1
text
#0F1013
muted
#7F7F82

Preview Lab

Preview with #798BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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