#7C7A97#7C7A97

#7C7A97 is a mid, muted blue. Relative luminance 0.204; OKLCH L 59.2% C 0.044 H 288.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7C7A97
RGBrgb(124, 122, 151)
HSLhsl(244, 12%, 54%)
HSVhsv(244, 19%, 59%)
CMYKcmyk(17.9%, 19.2%, 0%, 40.8%)
CIE-LABlab(52.33, 7.06, -15.33)
CIE-LCHlch(52.33, 16.87, 294.73°)
OKLaboklab(59.17% 0.0137 -0.0418)
OKLCHoklch(59.17% 0.044 288.1)
XYZxyz(20.8564, 20.4383, 32.1183)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A97 #95977A
analogous
#7A8697 #7C7A97 #8A7A97
triadic
#7C7A97 #977C7A #7A977C
tetradic
#7C7A97 #977A86 #95977A #7A978A
square
#7C7A97 #977A86 #95977A #7A978A
split-complementary
#7C7A97 #978A7A #86977A
monochromatic
#434255 #5F5D77 #7C7A97 #9E9CB2 #C0BFCD

Accessibility & contrast

On white

4.13
#7C7A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7C7A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A97
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A97#FFFFFF#000000##000000
##7C7A971.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D98
Deuteranopia (green-blind)
#737C96
Tritanopia (blue-blind)
#767F84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c7a97;
/* rgb */ color: rgb(124, 122, 151);
/* oklch */ color: oklch(59.2% 0.044 288.1);
Tailwind
colors: {
  custom: {
    50: '#a2a0b5',
    500: '#7c7a97',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a97;
$custom-light: #a2a0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a97",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 244.138,
    "s": 12.236,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.04395,
    "h": 288.1
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#7C7A97
secondary
#BCBDB0
accent
#B573B1
background
#FAF9FB
surface
#F3F2F6
border
#CDCCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7C7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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