#797EA0#797EA0

#797EA0 is a mid, muted blue. Relative luminance 0.215; OKLCH L 60.1% C 0.052 H 278.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#797EA0
RGBrgb(121, 126, 160)
HSLhsl(232, 17%, 55%)
HSVhsv(232, 24%, 63%)
CMYKcmyk(24.4%, 21.2%, 0%, 37.3%)
CIE-LABlab(53.52, 5.90, -18.77)
CIE-LCHlch(53.52, 19.68, 287.44°)
OKLaboklab(60.14% 0.0074 -0.0515)
OKLCHoklch(60.14% 0.052 278.2)
XYZxyz(21.6896, 21.5242, 36.2627)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EA0 #A09B79
analogous
#7991A0 #797EA0 #8779A0
triadic
#797EA0 #A0797E #7EA079
tetradic
#797EA0 #A07991 #A09B79 #79A087
square
#797EA0 #A07991 #A09B79 #79A087
split-complementary
#797EA0 #A08779 #91A079
monochromatic
#42455D #5B6081 #797EA0 #9DA0B9 #C1C3D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797EA0#FFFFFF#000000##000000
##797EA01.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)
#7581A2
Deuteranopia (green-blind)
#727F9F
Tritanopia (blue-blind)
#708489
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #797ea0;
/* rgb */ color: rgb(121, 126, 160);
/* oklch */ color: oklch(60.1% 0.052 278.2);
Tailwind
colors: {
  custom: {
    50: '#a0a3bc',
    500: '#797ea0',
    950: '#000000',
  },
}
SCSS
$custom: #797ea0;
$custom-light: #a0a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#797ea0",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 232.308,
    "s": 17.031,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.05203,
    "h": 278.2
  },
  "luminance": 0.21525
}

Semantic roles & 50–950 ramp

primary
#797EA0
secondary
#C3C0B2
accent
#B06EBA
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #797EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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