#7E8397#7E8397

#7E8397 is a mid, muted blue. Relative luminance 0.229; OKLCH L 61.3% C 0.031 H 274.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E8397
RGBrgb(126, 131, 151)
HSLhsl(228, 11%, 54%)
HSVhsv(228, 17%, 59%)
CMYKcmyk(16.6%, 13.2%, 0%, 40.8%)
CIE-LABlab(54.97, 2.50, -11.32)
CIE-LCHlch(54.97, 11.59, 282.44°)
OKLaboklab(61.27% 0.0023 -0.0307)
OKLCHoklch(61.27% 0.031 274.4)
XYZxyz(22.3051, 22.9022, 32.5176)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8397 #97927E
analogous
#7E9097 #7E8397 #867E97
triadic
#7E8397 #977E83 #83977E
tetradic
#7E8397 #977E90 #97927E #7E9786
square
#7E8397 #977E90 #97927E #7E9786
split-complementary
#7E8397 #97867E #90977E
monochromatic
#454856 #606577 #7E8397 #A0A4B2 #C2C4CE

Accessibility & contrast

On white

3.76
#7E8397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7E8397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8397
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8397#FFFFFF#000000##000000
##7E83971.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8598
Deuteranopia (green-blind)
#7C8396
Tritanopia (blue-blind)
#788789
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e8397;
/* rgb */ color: rgb(126, 131, 151);
/* oklch */ color: oklch(61.3% 0.031 274.4);
Tailwind
colors: {
  custom: {
    50: '#a3a7b5',
    500: '#7e8397',
    950: '#000000',
  },
}
SCSS
$custom: #7e8397;
$custom-light: #a3a7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8397",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 151
  },
  "hsl": {
    "h": 228,
    "s": 10.73,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.03078,
    "h": 274.4
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#7E8397
secondary
#BEBCB3
accent
#A774B4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7E8397

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

Preview Lab → · Contrast checker → · Palette generator →

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