#798AAA#798AAA

#798AAA is a light, muted blue. Relative luminance 0.251; OKLCH L 63.2% C 0.052 H 263.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#798AAA
RGBrgb(121, 138, 170)
HSLhsl(219, 22%, 57%)
HSVhsv(219, 29%, 67%)
CMYKcmyk(28.8%, 18.8%, 0%, 33.3%)
CIE-LABlab(57.21, 1.44, -18.89)
CIE-LCHlch(57.21, 18.95, 274.37°)
OKLaboklab(63.15% -0.0064 -0.0519)
OKLCHoklch(63.15% 0.052 263)
XYZxyz(24.2273, 25.1434, 41.5991)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798AAA #AA9979
analogous
#79A2AA #798AAA #8179AA
triadic
#798AAA #AA798A #8AAA79
tetradic
#798AAA #AA79A2 #AA9979 #79AA81
square
#798AAA #AA79A2 #AA9979 #79AA81
split-complementary
#798AAA #AA8179 #A2AA79
monochromatic
#414F67 #596B8D #798AAA #9EABC2 #C4CBDA

Accessibility & contrast

On white

3.48
#798AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#798AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798AAA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798AAA#FFFFFF#000000##000000
##798AAA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CAC
Deuteranopia (green-blind)
#7B87A9
Tritanopia (blue-blind)
#6C9095
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #798aaa;
/* rgb */ color: rgb(121, 138, 170);
/* oklch */ color: oklch(63.2% 0.052 263.0);
Tailwind
colors: {
  custom: {
    50: '#a0acc3',
    500: '#798aaa',
    950: '#000000',
  },
}
SCSS
$custom: #798aaa;
$custom-light: #a0acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#798aaa",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 219.184,
    "s": 22.374,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.05228,
    "h": 263
  },
  "luminance": 0.25144
}

Semantic roles & 50–950 ramp

primary
#798AAA
secondary
#C9C2B5
accent
#A169BF
background
#F9FAFC
surface
#F2F4F8
border
#CCCED1
text
#0F1012
muted
#7E7F81

Preview Lab

Preview with #798AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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