#7A798E#7A798E

#7A798E is a mid, muted blue. Relative luminance 0.198; OKLCH L 58.4% C 0.032 H 287.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A798E
RGBrgb(122, 121, 142)
HSLhsl(243, 9%, 52%)
HSVhsv(243, 15%, 56%)
CMYKcmyk(14.1%, 14.8%, 0%, 44.3%)
CIE-LABlab(51.57, 4.87, -11.23)
CIE-LCHlch(51.57, 12.24, 293.46°)
OKLaboklab(58.43% 0.0096 -0.0304)
OKLCHoklch(58.43% 0.032 287.5)
XYZxyz(19.7448, 19.7651, 28.3608)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A798E #8D8E79
analogous
#79838E #7A798E #85798E
triadic
#7A798E #8E7A79 #798E7A
tetradic
#7A798E #8E7983 #8D8E79 #798E85
square
#7A798E #8E7983 #8D8E79 #798E85
split-complementary
#7A798E #8E8579 #838E79
monochromatic
#41404C #5D5C6D #7A798E #9B9AAA #BCBBC6

Accessibility & contrast

On white

4.24
#7A798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7A798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A798E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A798E#FFFFFF#000000##000000
##7A798E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#747B8F
Deuteranopia (green-blind)
#747A8D
Tritanopia (blue-blind)
#767C80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a798e;
/* rgb */ color: rgb(122, 121, 142);
/* oklch */ color: oklch(58.4% 0.032 287.5);
Tailwind
colors: {
  custom: {
    50: '#a09faf',
    500: '#7a798e',
    950: '#000000',
  },
}
SCSS
$custom: #7a798e;
$custom-light: #a09faf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a798e",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 242.857,
    "s": 8.502,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.03188,
    "h": 287.5
  },
  "luminance": 0.19765
}

Semantic roles & 50–950 ramp

primary
#7A798E
secondary
#B6B6AD
accent
#B276AF
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E10
muted
#7E7E7F

Preview Lab

Preview with #7A798E

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

Preview Lab → · Contrast checker → · Palette generator →

#7A798E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva