#797DA3#797DA3

#797DA3 is a mid, muted blue. Relative luminance 0.214; OKLCH L 60.1% C 0.058 H 279.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#797DA3
RGBrgb(121, 125, 163)
HSLhsl(234, 19%, 56%)
HSVhsv(234, 26%, 64%)
CMYKcmyk(25.8%, 23.3%, 0%, 36.1%)
CIE-LABlab(53.36, 7.23, -20.76)
CIE-LCHlch(53.36, 21.98, 289.21°)
OKLaboklab(60.06% 0.0099 -0.0571)
OKLCHoklch(60.06% 0.058 279.8)
XYZxyz(21.8279, 21.3760, 37.6192)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797DA3 #A39F79
analogous
#7992A3 #797DA3 #8A79A3
triadic
#797DA3 #A3797D #7DA379
tetradic
#797DA3 #A37992 #A39F79 #79A38A
square
#797DA3 #A37992 #A39F79 #79A38A
split-complementary
#797DA3 #A38A79 #92A379
monochromatic
#424560 #5B5F84 #797DA3 #9DA0BC #C2C3D5

Accessibility & contrast

On white

3.98
#797DA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#797DA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797DA3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797DA3#FFFFFF#000000##000000
##797DA31.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7381A5
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#6F848A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #797da3;
/* rgb */ color: rgb(121, 125, 163);
/* oklch */ color: oklch(60.1% 0.058 279.8);
Tailwind
colors: {
  custom: {
    50: '#a0a2be',
    500: '#797da3',
    950: '#000000',
  },
}
SCSS
$custom: #797da3;
$custom-light: #a0a2be;
$custom-dark: #000000;
JSON
{
  "hex": "#797da3",
  "rgb": {
    "r": 121,
    "g": 125,
    "b": 163
  },
  "hsl": {
    "h": 234.286,
    "s": 18.584,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.05794,
    "h": 279.8
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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