#7A7E98#7A7E98

#7A7E98 is a mid, muted blue. Relative luminance 0.213; OKLCH L 59.9% C 0.040 H 278.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A7E98
RGBrgb(122, 126, 152)
HSLhsl(232, 13%, 54%)
HSVhsv(232, 20%, 60%)
CMYKcmyk(19.7%, 17.1%, 0%, 40.4%)
CIE-LABlab(53.30, 4.28, -14.45)
CIE-LCHlch(53.30, 15.07, 286.50°)
OKLaboklab(59.9% 0.0057 -0.0394)
OKLCHoklch(59.9% 0.04 278.3)
XYZxyz(21.1530, 21.3259, 32.7015)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E98 #98947A
analogous
#7A8D98 #7A7E98 #857A98
triadic
#7A7E98 #987A7E #7E987A
tetradic
#7A7E98 #987A8D #98947A #7A9885
square
#7A7E98 #987A8D #98947A #7A9885
split-complementary
#7A7E98 #98857A #8D987A
monochromatic
#424555 #5D6078 #7A7E98 #9C9FB3 #BFC1CD

Accessibility & contrast

On white

3.99
#7A7E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7A7E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E98
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E98#FFFFFF#000000##000000
##7A7E981.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778099
Deuteranopia (green-blind)
#757E97
Tritanopia (blue-blind)
#738387
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a7e98;
/* rgb */ color: rgb(122, 126, 152);
/* oklch */ color: oklch(59.9% 0.040 278.3);
Tailwind
colors: {
  custom: {
    50: '#a0a3b6',
    500: '#7a7e98',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e98;
$custom-light: #a0a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e98",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 232,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.599,
    "c": 0.03977,
    "h": 278.3
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#7A7E98
secondary
#BDBCB0
accent
#AD72B6
background
#F9FAFB
surface
#F2F3F6
border
#CCCDD0
text
#0F0F11
muted
#7E7F80

Preview Lab

Preview with #7A7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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