#797CA3#797CA3

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

Color values

HEX#797CA3
RGBrgb(121, 124, 163)
HSLhsl(236, 19%, 56%)
HSVhsv(236, 26%, 64%)
CMYKcmyk(25.8%, 23.9%, 0%, 36.1%)
CIE-LABlab(53.09, 7.82, -21.18)
CIE-LCHlch(53.09, 22.57, 290.27°)
OKLaboklab(59.85% 0.0113 -0.0583)
OKLCHoklch(59.85% 0.059 281)
XYZxyz(21.7020, 21.1241, 37.5772)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797CA3 #A3A079
analogous
#7991A3 #797CA3 #8B79A3
triadic
#797CA3 #A3797C #7CA379
tetradic
#797CA3 #A37991 #A3A079 #79A38B
square
#797CA3 #A37991 #A3A079 #79A38B
split-complementary
#797CA3 #A38B79 #91A379
monochromatic
#424460 #5B5E84 #797CA3 #9D9FBC #C2C3D5

Accessibility & contrast

On white

4.02
#797CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#797CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797CA3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797CA3#FFFFFF#000000##000000
##797CA31.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A5
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#6F8389
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797ca3;
/* rgb */ color: rgb(121, 124, 163);
/* oklch */ color: oklch(59.8% 0.059 281.0);
Tailwind
colors: {
  custom: {
    50: '#a0a1be',
    500: '#797ca3',
    950: '#000000',
  },
}
SCSS
$custom: #797ca3;
$custom-light: #a0a1be;
$custom-dark: #000000;
JSON
{
  "hex": "#797ca3",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 235.714,
    "s": 18.584,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.05936,
    "h": 281
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#797CA3
secondary
#C5C3B3
accent
#B66DBB
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0F12
muted
#7E7E81

Preview Lab

Preview with #797CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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