#7C8298#7C8298

#7C8298 is a mid, muted blue. Relative luminance 0.225; OKLCH L 60.9% C 0.034 H 273.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7C8298
RGBrgb(124, 130, 152)
HSLhsl(227, 12%, 54%)
HSVhsv(227, 18%, 60%)
CMYKcmyk(18.4%, 14.5%, 0%, 40.4%)
CIE-LABlab(54.57, 2.63, -12.52)
CIE-LCHlch(54.57, 12.79, 281.85°)
OKLaboklab(60.93% 0.002 -0.034)
OKLCHoklch(60.93% 0.034 273.3)
XYZxyz(21.9609, 22.5170, 32.8889)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8298 #98927C
analogous
#7C9098 #7C8298 #847C98
triadic
#7C8298 #987C82 #82987C
tetradic
#7C8298 #987C90 #98927C #7C9884
square
#7C8298 #987C90 #98927C #7C9884
split-complementary
#7C8298 #98847C #90987C
monochromatic
#444856 #5F6478 #7C8298 #9EA3B3 #C1C3CE

Accessibility & contrast

On white

3.82
#7C8298 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7C8298 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8298
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8298#FFFFFF#000000##000000
##7C82981.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8499
Deuteranopia (green-blind)
#7A8297
Tritanopia (blue-blind)
#768689
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8298;
/* rgb */ color: rgb(124, 130, 152);
/* oklch */ color: oklch(60.9% 0.034 273.3);
Tailwind
colors: {
  custom: {
    50: '#a2a6b6',
    500: '#7c8298',
    950: '#000000',
  },
}
SCSS
$custom: #7c8298;
$custom-light: #a2a6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8298",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 152
  },
  "hsl": {
    "h": 227.143,
    "s": 11.966,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.03407,
    "h": 273.3
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#7C8298
secondary
#BEBBB2
accent
#A773B5
background
#FAFAFB
surface
#F3F4F6
border
#CDCED0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7C8298

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

Preview Lab → · Contrast checker → · Palette generator →

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