#7E809E#7E809E

#7E809E is a mid, muted blue. Relative luminance 0.223; OKLCH L 60.9% C 0.045 H 282.0°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E809E
RGBrgb(126, 128, 158)
HSLhsl(236, 14%, 56%)
HSVhsv(236, 20%, 62%)
CMYKcmyk(20.3%, 19%, 0%, 38%)
CIE-LABlab(54.39, 5.88, -16.25)
CIE-LCHlch(54.39, 17.28, 289.88°)
OKLaboklab(60.9% 0.0094 -0.0444)
OKLCHoklch(60.9% 0.045 282)
XYZxyz(22.4934, 22.3422, 35.4685)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E809E #9E9C7E
analogous
#7E909E #7E809E #8C7E9E
triadic
#7E809E #9E7E80 #809E7E
tetradic
#7E809E #9E7E90 #9E9C7E #7E9E8C
square
#7E809E #9E7E90 #9E9C7E #7E9E8C
split-complementary
#7E809E #9E8C7E #909E7E
monochromatic
#45475C #60627F #7E809E #A1A2B8 #C4C5D3

Accessibility & contrast

On white

3.84
#7E809E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7E809E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E809E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E809E#FFFFFF#000000##000000
##7E809E1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78839F
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#77858A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e809e;
/* rgb */ color: rgb(126, 128, 158);
/* oklch */ color: oklch(60.9% 0.045 282.0);
Tailwind
colors: {
  custom: {
    50: '#a3a4ba',
    500: '#7e809e',
    950: '#000000',
  },
}
SCSS
$custom: #7e809e;
$custom-light: #a3a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7e809e",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 158
  },
  "hsl": {
    "h": 236.25,
    "s": 14.159,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60895,
    "c": 0.04535,
    "h": 282
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#7E809E
secondary
#C3C2B5
accent
#B371B7
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7E809E

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

Preview Lab → · Contrast checker → · Palette generator →

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