#797CAE#797CAE

#797CAE is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.3% C 0.076 H 281.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#797CAE
RGBrgb(121, 124, 174)
HSLhsl(237, 25%, 58%)
HSVhsv(237, 30%, 68%)
CMYKcmyk(30.5%, 28.7%, 0%, 31.8%)
CIE-LABlab(53.53, 10.66, -26.85)
CIE-LCHlch(53.53, 28.89, 291.65°)
OKLaboklab(60.34% 0.0147 -0.0744)
OKLCHoklch(60.34% 0.076 281.2)
XYZxyz(22.7307, 21.5356, 42.9954)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CAE #AEAB79
analogous
#7996AE #797CAE #9079AE
triadic
#797CAE #AE797C #7CAE79
tetradic
#797CAE #AE7996 #AEAB79 #79AE90
square
#797CAE #AE7996 #AEAB79 #79AE90
split-complementary
#797CAE #AE9079 #96AE79
monochromatic
#41436C #585B92 #797CAE #9FA1C5 #C5C7DC

Accessibility & contrast

On white

3.96
#797CAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#797CAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CAE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CAE#FFFFFF#000000##000000
##797CAE1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E82B0
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#6C858E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #797cae;
/* rgb */ color: rgb(121, 124, 174);
/* oklch */ color: oklch(60.3% 0.076 281.2);
Tailwind
colors: {
  custom: {
    50: '#a1a1c6',
    500: '#797cae',
    950: '#000000',
  },
}
SCSS
$custom: #797cae;
$custom-light: #a1a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#797cae",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 174
  },
  "hsl": {
    "h": 236.604,
    "s": 24.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.07587,
    "h": 281.2
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#797CAE
secondary
#CCCBB7
accent
#BC67C1
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0F13
muted
#7F7E82

Preview Lab

Preview with #797CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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