#7E7E98#7E7E98

#7E7E98 is a mid, muted blue. Relative luminance 0.216; OKLCH L 60.2% C 0.039 H 285.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E7E98
RGBrgb(126, 126, 152)
HSLhsl(240, 11%, 55%)
HSVhsv(240, 17%, 60%)
CMYKcmyk(17.1%, 17.1%, 0%, 40.4%)
CIE-LABlab(53.63, 5.63, -13.93)
CIE-LCHlch(53.63, 15.02, 292.00°)
OKLaboklab(60.23% 0.0103 -0.0379)
OKLCHoklch(60.23% 0.039 285.2)
XYZxyz(21.7313, 21.6241, 32.7286)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E98 #98987E
analogous
#7E8B98 #7E7E98 #8B7E98
triadic
#7E7E98 #987E7E #7E987E
tetradic
#7E7E98 #987E8B #98987E #7E988B
square
#7E7E98 #987E8B #98987E #7E988B
split-complementary
#7E7E98 #988B7E #8B987E
monochromatic
#454557 #606079 #7E7E98 #A0A0B3 #C2C2CE

Accessibility & contrast

On white

3.94
#7E7E98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E7E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E98
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E98#FFFFFF#000000##000000
##7E7E981.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788199
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#798287
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e7e98;
/* rgb */ color: rgb(126, 126, 152);
/* oklch */ color: oklch(60.2% 0.039 285.2);
Tailwind
colors: {
  custom: {
    50: '#a3a3b6',
    500: '#7e7e98',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e98;
$custom-light: #a3a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e98",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 11.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6023,
    "c": 0.03924,
    "h": 285.2
  },
  "luminance": 0.21624
}

Semantic roles & 50–950 ramp

primary
#7E7E98
secondary
#BEBEB3
accent
#B474B4
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#0F0F11
muted
#7F7F80

Preview Lab

Preview with #7E7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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