#7E7A98#7E7A98

#7E7A98 is a mid, muted blue. Relative luminance 0.206; OKLCH L 59.4% C 0.046 H 291.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7E7A98
RGBrgb(126, 122, 152)
HSLhsl(248, 13%, 54%)
HSVhsv(248, 20%, 60%)
CMYKcmyk(17.1%, 19.7%, 0%, 40.4%)
CIE-LABlab(52.53, 7.97, -15.59)
CIE-LCHlch(52.53, 17.51, 297.09°)
OKLaboklab(59.38% 0.0164 -0.0425)
OKLCHoklch(59.38% 0.046 291.1)
XYZxyz(21.2300, 20.6215, 32.5615)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7A98 #94987A
analogous
#7A8598 #7E7A98 #8D7A98
triadic
#7E7A98 #987E7A #7A987E
tetradic
#7E7A98 #987A85 #94987A #7A988D
square
#7E7A98 #987A85 #94987A #7A988D
split-complementary
#7E7A98 #988D7A #85987A
monochromatic
#454255 #605D78 #7E7A98 #9F9CB3 #C1BFCD

Accessibility & contrast

On white

4.10
#7E7A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7E7A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7A98
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7A98#FFFFFF#000000##000000
##7E7A981.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#737E99
Deuteranopia (green-blind)
#737D97
Tritanopia (blue-blind)
#797F84
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e7a98;
/* rgb */ color: rgb(126, 122, 152);
/* oklch */ color: oklch(59.4% 0.046 291.1);
Tailwind
colors: {
  custom: {
    50: '#a3a0b6',
    500: '#7e7a98',
    950: '#000000',
  },
}
SCSS
$custom: #7e7a98;
$custom-light: #a3a0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7a98",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 248,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59379,
    "c": 0.04551,
    "h": 291.1
  },
  "luminance": 0.20622
}

Semantic roles & 50–950 ramp

primary
#7E7A98
secondary
#BCBDB0
accent
#B672AD
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#0F0E11
muted
#7F7E80

Preview Lab

Preview with #7E7A98

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

Preview Lab → · Contrast checker → · Palette generator →

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