#797EAE#797EAE

#797EAE is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.8% C 0.073 H 279.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#797EAE
RGBrgb(121, 126, 174)
HSLhsl(234, 25%, 58%)
HSVhsv(234, 30%, 68%)
CMYKcmyk(30.5%, 27.6%, 0%, 31.8%)
CIE-LABlab(54.07, 9.47, -26.01)
CIE-LCHlch(54.07, 27.68, 290.01°)
OKLaboklab(60.76% 0.0119 -0.072)
OKLCHoklch(60.76% 0.073 279.4)
XYZxyz(22.9839, 22.0420, 43.0798)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EAE #AEA979
analogous
#7998AE #797EAE #8F79AE
triadic
#797EAE #AE797E #7EAE79
tetradic
#797EAE #AE7998 #AEA979 #79AE8F
square
#797EAE #AE7998 #AEA979 #79AE8F
split-complementary
#797EAE #AE8F79 #98AE79
monochromatic
#41456C #585E92 #797EAE #9FA3C5 #C5C7DC

Accessibility & contrast

On white

3.88
#797EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#797EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EAE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EAE#FFFFFF#000000##000000
##797EAE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7083B0
Deuteranopia (green-blind)
#6D7FAD
Tritanopia (blue-blind)
#6B878F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #797eae;
/* rgb */ color: rgb(121, 126, 174);
/* oklch */ color: oklch(60.8% 0.073 279.4);
Tailwind
colors: {
  custom: {
    50: '#a1a3c6',
    500: '#797eae',
    950: '#000000',
  },
}
SCSS
$custom: #797eae;
$custom-light: #a1a3c6;
$custom-dark: #000000;
JSON
{
  "hex": "#797eae",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 234.34,
    "s": 24.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60756,
    "c": 0.07302,
    "h": 279.4
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#797EAE
secondary
#CCCAB7
accent
#B967C1
background
#FAFAFC
surface
#F3F3F8
border
#CDCDD1
text
#0F0F13
muted
#7F7F82

Preview Lab

Preview with #797EAE

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

Preview Lab → · Contrast checker → · Palette generator →

#797EAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva