#798BAD#798BAD

#798BAD is a light, muted blue. Relative luminance 0.255; OKLCH L 63.5% C 0.055 H 263.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#798BAD
RGBrgb(121, 139, 173)
HSLhsl(219, 24%, 58%)
HSVhsv(219, 30%, 68%)
CMYKcmyk(30.1%, 19.7%, 0%, 32.2%)
CIE-LABlab(57.60, 1.64, -20.01)
CIE-LCHlch(57.60, 20.08, 274.67°)
OKLaboklab(63.5% -0.0067 -0.055)
OKLCHoklch(63.5% 0.055 263)
XYZxyz(24.6585, 25.5464, 43.1588)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798BAD #AD9B79
analogous
#79A5AD #798BAD #8179AD
triadic
#798BAD #AD798B #8BAD79
tetradic
#798BAD #AD79A5 #AD9B79 #79AD81
square
#798BAD #AD79A5 #AD9B79 #79AD81
split-complementary
#798BAD #AD8179 #A5AD79
monochromatic
#414F6A #586C90 #798BAD #9FACC4 #C5CDDB

Accessibility & contrast

On white

3.44
#798BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#798BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798BAD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798BAD#FFFFFF#000000##000000
##798BAD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#808DAF
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#6A9296
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #798bad;
/* rgb */ color: rgb(121, 139, 173);
/* oklch */ color: oklch(63.5% 0.055 263.0);
Tailwind
colors: {
  custom: {
    50: '#a1acc5',
    500: '#798bad',
    950: '#000000',
  },
}
SCSS
$custom: #798bad;
$custom-light: #a1acc5;
$custom-dark: #000000;
JSON
{
  "hex": "#798bad",
  "rgb": {
    "r": 121,
    "g": 139,
    "b": 173
  },
  "hsl": {
    "h": 219.231,
    "s": 24.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63495,
    "c": 0.05546,
    "h": 263
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#798BAD
secondary
#CBC4B6
accent
#A267C1
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1013
muted
#7E7F82

Preview Lab

Preview with #798BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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