#7C8098#7C8098

#7C8098 is a mid, muted blue. Relative luminance 0.220; OKLCH L 60.5% C 0.037 H 277.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C8098
RGBrgb(124, 128, 152)
HSLhsl(231, 12%, 54%)
HSVhsv(231, 18%, 60%)
CMYKcmyk(18.4%, 15.8%, 0%, 40.4%)
CIE-LABlab(54.02, 3.79, -13.35)
CIE-LCHlch(54.02, 13.88, 285.83°)
OKLaboklab(60.5% 0.005 -0.0363)
OKLCHoklch(60.5% 0.037 277.8)
XYZxyz(21.6975, 21.9901, 32.8010)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8098 #98947C
analogous
#7C8E98 #7C8098 #867C98
triadic
#7C8098 #987C80 #80987C
tetradic
#7C8098 #987C8E #98947C #7C9886
square
#7C8098 #987C8E #98947C #7C9886
split-complementary
#7C8098 #98867C #8E987C
monochromatic
#444656 #5F6278 #7C8098 #9EA1B3 #C1C2CE

Accessibility & contrast

On white

3.89
#7C8098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7C8098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8098
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8098#FFFFFF#000000##000000
##7C80981.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8299
Deuteranopia (green-blind)
#788097
Tritanopia (blue-blind)
#768488
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7c8098;
/* rgb */ color: rgb(124, 128, 152);
/* oklch */ color: oklch(60.5% 0.037 277.8);
Tailwind
colors: {
  custom: {
    50: '#a2a4b6',
    500: '#7c8098',
    950: '#000000',
  },
}
SCSS
$custom: #7c8098;
$custom-light: #a2a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8098",
  "rgb": {
    "r": 124,
    "g": 128,
    "b": 152
  },
  "hsl": {
    "h": 231.429,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.03666,
    "h": 277.8
  },
  "luminance": 0.2199
}

Semantic roles & 50–950 ramp

primary
#7C8098
secondary
#BEBCB2
accent
#AB73B5
background
#FAFAFB
surface
#F3F4F6
border
#CDCED0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7C8098

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

Preview Lab → · Contrast checker → · Palette generator →

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