#797F95#797F95

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

Color values

HEX#797F95
RGBrgb(121, 127, 149)
HSLhsl(227, 12%, 53%)
HSVhsv(227, 19%, 58%)
CMYKcmyk(18.8%, 14.8%, 0%, 41.6%)
CIE-LABlab(53.40, 2.65, -12.57)
CIE-LCHlch(53.40, 12.84, 281.90°)
OKLaboklab(59.92% 0.002 -0.0342)
OKLCHoklch(59.92% 0.034 273.3)
XYZxyz(20.8980, 21.4132, 31.4601)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F95 #958F79
analogous
#798D95 #797F95 #817995
triadic
#797F95 #95797F #7F9579
tetradic
#797F95 #95798D #958F79 #799581
square
#797F95 #95798D #958F79 #799581
split-complementary
#797F95 #958179 #8D9579
monochromatic
#414552 #5C6175 #797F95 #9BA0B0 #BDC0CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797F95#FFFFFF#000000##000000
##797F951.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)
#798196
Deuteranopia (green-blind)
#777F94
Tritanopia (blue-blind)
#738386
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #797f95;
/* rgb */ color: rgb(121, 127, 149);
/* oklch */ color: oklch(59.9% 0.034 273.3);
Tailwind
colors: {
  custom: {
    50: '#a0a4b4',
    500: '#797f95',
    950: '#000000',
  },
}
SCSS
$custom: #797f95;
$custom-light: #a0a4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#797f95",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 149
  },
  "hsl": {
    "h": 227.143,
    "s": 11.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.03422,
    "h": 273.3
  },
  "luminance": 0.21414
}

Semantic roles & 50–950 ramp

primary
#797F95
secondary
#BBB8AF
accent
#A773B5
background
#F9FAFB
surface
#F2F4F6
border
#CCCED0
text
#0E0F11
muted
#7E7F80

Preview Lab

Preview with #797F95

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

Preview Lab → · Contrast checker → · Palette generator →

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