#7E8098#7E8098

#7E8098 is a mid, muted blue. Relative luminance 0.221; OKLCH L 60.7% C 0.036 H 281.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7E8098
RGBrgb(126, 128, 152)
HSLhsl(235, 11%, 55%)
HSVhsv(235, 17%, 60%)
CMYKcmyk(17.1%, 15.8%, 0%, 40.4%)
CIE-LABlab(54.18, 4.46, -13.10)
CIE-LCHlch(54.18, 13.84, 288.82°)
OKLaboklab(60.66% 0.0072 -0.0356)
OKLCHoklch(60.66% 0.036 281.5)
XYZxyz(21.9896, 22.1407, 32.8147)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8098 #98967E
analogous
#7E8D98 #7E8098 #897E98
triadic
#7E8098 #987E80 #80987E
tetradic
#7E8098 #987E8D #98967E #7E9889
square
#7E8098 #987E8D #98967E #7E9889
split-complementary
#7E8098 #98897E #8D987E
monochromatic
#454657 #606279 #7E8098 #A0A2B3 #C2C3CE

Accessibility & contrast

On white

3.87
#7E8098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7E8098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8098
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8098#FFFFFF#000000##000000
##7E80981.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8299
Deuteranopia (green-blind)
#798197
Tritanopia (blue-blind)
#788488
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8098;
/* rgb */ color: rgb(126, 128, 152);
/* oklch */ color: oklch(60.7% 0.036 281.5);
Tailwind
colors: {
  custom: {
    50: '#a3a4b6',
    500: '#7e8098',
    950: '#000000',
  },
}
SCSS
$custom: #7e8098;
$custom-light: #a3a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8098",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 152
  },
  "hsl": {
    "h": 235.385,
    "s": 11.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.03631,
    "h": 281.5
  },
  "luminance": 0.22141
}

Semantic roles & 50–950 ramp

primary
#7E8098
secondary
#BEBEB3
accent
#AF74B4
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7E8098

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

Preview Lab → · Contrast checker → · Palette generator →

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