#797CA0#797CA0

#797CA0 is a mid, muted blue. Relative luminance 0.210; OKLCH L 59.7% C 0.055 H 280.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#797CA0
RGBrgb(121, 124, 160)
HSLhsl(235, 17%, 55%)
HSVhsv(235, 24%, 63%)
CMYKcmyk(24.4%, 22.5%, 0%, 37.3%)
CIE-LABlab(52.97, 7.07, -19.61)
CIE-LCHlch(52.97, 20.85, 289.82°)
OKLaboklab(59.72% 0.0104 -0.0538)
OKLCHoklch(59.72% 0.055 280.9)
XYZxyz(21.4364, 21.0179, 36.1783)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CA0 #A09D79
analogous
#798FA0 #797CA0 #8A79A0
triadic
#797CA0 #A0797C #7CA079
tetradic
#797CA0 #A0798F #A09D79 #79A08A
square
#797CA0 #A0798F #A09D79 #79A08A
split-complementary
#797CA0 #A08A79 #8FA079
monochromatic
#42445D #5B5E81 #797CA0 #9D9FB9 #C1C2D3

Accessibility & contrast

On white

4.04
#797CA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#797CA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CA0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CA0#FFFFFF#000000##000000
##797CA01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A2
Deuteranopia (green-blind)
#707D9F
Tritanopia (blue-blind)
#708288
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #797ca0;
/* rgb */ color: rgb(121, 124, 160);
/* oklch */ color: oklch(59.7% 0.055 280.9);
Tailwind
colors: {
  custom: {
    50: '#a0a1bc',
    500: '#797ca0',
    950: '#000000',
  },
}
SCSS
$custom: #797ca0;
$custom-light: #a0a1bc;
$custom-dark: #000000;
JSON
{
  "hex": "#797ca0",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 160
  },
  "hsl": {
    "h": 235.385,
    "s": 17.031,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.05484,
    "h": 280.9
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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