#797EA3#797EA3

#797EA3 is a mid, muted blue. Relative luminance 0.216; OKLCH L 60.3% C 0.057 H 278.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#797EA3
RGBrgb(121, 126, 163)
HSLhsl(233, 19%, 56%)
HSVhsv(233, 26%, 64%)
CMYKcmyk(25.8%, 22.7%, 0%, 36.1%)
CIE-LABlab(53.63, 6.65, -20.34)
CIE-LCHlch(53.63, 21.39, 288.10°)
OKLaboklab(60.27% 0.0084 -0.0559)
OKLCHoklch(60.27% 0.057 278.6)
XYZxyz(21.9552, 21.6305, 37.6616)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797EA3 #A39E79
analogous
#7993A3 #797EA3 #8979A3
triadic
#797EA3 #A3797E #7EA379
tetradic
#797EA3 #A37993 #A39E79 #79A389
square
#797EA3 #A37993 #A39E79 #79A389
split-complementary
#797EA3 #A38979 #93A379
monochromatic
#424560 #5B6084 #797EA3 #9DA1BC #C2C4D5

Accessibility & contrast

On white

3.94
#797EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#797EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797EA3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797EA3#FFFFFF#000000##000000
##797EA31.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A5
Deuteranopia (green-blind)
#717FA2
Tritanopia (blue-blind)
#6F858B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #797ea3;
/* rgb */ color: rgb(121, 126, 163);
/* oklch */ color: oklch(60.3% 0.057 278.6);
Tailwind
colors: {
  custom: {
    50: '#a0a3be',
    500: '#797ea3',
    950: '#000000',
  },
}
SCSS
$custom: #797ea3;
$custom-light: #a0a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#797ea3",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 232.857,
    "s": 18.584,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.05654,
    "h": 278.6
  },
  "luminance": 0.21631
}

Semantic roles & 50–950 ramp

primary
#797EA3
secondary
#C5C3B3
accent
#B26DBB
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0F0F12
muted
#7E7F81

Preview Lab

Preview with #797EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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