#797FAE#797FAE

#797FAE is a mid, moderate blue. Relative luminance 0.223; OKLCH L 61.0% C 0.072 H 278.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#797FAE
RGBrgb(121, 127, 174)
HSLhsl(233, 25%, 58%)
HSVhsv(233, 30%, 68%)
CMYKcmyk(30.5%, 27%, 0%, 31.8%)
CIE-LABlab(54.34, 8.88, -25.59)
CIE-LCHlch(54.34, 27.09, 289.14°)
OKLaboklab(60.97% 0.0105 -0.0708)
OKLCHoklch(60.97% 0.072 278.4)
XYZxyz(23.1124, 22.2990, 43.1226)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797FAE #AEA879
analogous
#7999AE #797FAE #8E79AE
triadic
#797FAE #AE797F #7FAE79
tetradic
#797FAE #AE7999 #AEA879 #79AE8E
square
#797FAE #AE7999 #AEA879 #79AE8E
split-complementary
#797FAE #AE8E79 #99AE79
monochromatic
#41466C #585F92 #797FAE #9FA3C5 #C5C8DC

Accessibility & contrast

On white

3.85
#797FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#797FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797FAE
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797FAE#FFFFFF#000000##000000
##797FAE1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7184B0
Deuteranopia (green-blind)
#6E80AD
Tritanopia (blue-blind)
#6B888F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #797fae;
/* rgb */ color: rgb(121, 127, 174);
/* oklch */ color: oklch(61.0% 0.072 278.4);
Tailwind
colors: {
  custom: {
    50: '#a1a4c6',
    500: '#797fae',
    950: '#000000',
  },
}
SCSS
$custom: #797fae;
$custom-light: #a1a4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#797fae",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 174
  },
  "hsl": {
    "h": 233.208,
    "s": 24.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.07161,
    "h": 278.4
  },
  "luminance": 0.223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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