#797CA1#797CA1

#797CA1 is a mid, muted blue. Relative luminance 0.211; OKLCH L 59.8% C 0.056 H 280.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#797CA1
RGBrgb(121, 124, 161)
HSLhsl(236, 18%, 55%)
HSVhsv(236, 25%, 63%)
CMYKcmyk(24.8%, 23%, 0%, 36.9%)
CIE-LABlab(53.01, 7.32, -20.13)
CIE-LCHlch(53.01, 21.42, 289.98°)
OKLaboklab(59.76% 0.0107 -0.0553)
OKLCHoklch(59.76% 0.056 280.9)
XYZxyz(21.5242, 21.0530, 36.6409)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CA1 #A19E79
analogous
#7990A1 #797CA1 #8A79A1
triadic
#797CA1 #A1797C #7CA179
tetradic
#797CA1 #A17990 #A19E79 #79A18A
square
#797CA1 #A17990 #A19E79 #79A18A
split-complementary
#797CA1 #A18A79 #90A179
monochromatic
#42445E #5B5E82 #797CA1 #9D9FBA #C1C2D3

Accessibility & contrast

On white

4.03
#797CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#797CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CA1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CA1#FFFFFF#000000##000000
##797CA11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A3
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#708389
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797ca1;
/* rgb */ color: rgb(121, 124, 161);
/* oklch */ color: oklch(59.8% 0.056 280.9);
Tailwind
colors: {
  custom: {
    50: '#a0a1bd',
    500: '#797ca1',
    950: '#000000',
  },
}
SCSS
$custom: #797ca1;
$custom-light: #a0a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#797ca1",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 161
  },
  "hsl": {
    "h": 235.5,
    "s": 17.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.05635,
    "h": 280.9
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#797CA1
secondary
#C3C2B3
accent
#B46EBA
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0F12
muted
#7E7E81

Preview Lab

Preview with #797CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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