#7E8EA7#7E8EA7

#7E8EA7 is a light, muted blue. Relative luminance 0.266; OKLCH L 64.3% C 0.042 H 259.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7E8EA7
RGBrgb(126, 142, 167)
HSLhsl(217, 19%, 57%)
HSVhsv(217, 25%, 65%)
CMYKcmyk(24.6%, 15%, 0%, 34.5%)
CIE-LABlab(58.58, -0.02, -15.08)
CIE-LCHlch(58.58, 15.08, 269.93°)
OKLaboklab(64.28% -0.0078 -0.0412)
OKLCHoklch(64.28% 0.042 259.3)
XYZxyz(25.2504, 26.5709, 40.3500)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EA7 #A7977E
analogous
#7EA3A7 #7E8EA7 #827EA7
triadic
#7E8EA7 #A77E8E #8EA77E
tetradic
#7E8EA7 #A77EA3 #A7977E #7EA782
square
#7E8EA7 #A77EA3 #A7977E #7EA782
split-complementary
#7E8EA7 #A7827E #A3A77E
monochromatic
#455265 #5E6F8A #7E8EA7 #A2AEC0 #C7CED9

Accessibility & contrast

On white

3.33
#7E8EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#7E8EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8EA7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EA7#FFFFFF#000000##000000
##7E8EA71.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#868FA8
Deuteranopia (green-blind)
#818BA6
Tritanopia (blue-blind)
#739396
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e8ea7;
/* rgb */ color: rgb(126, 142, 167);
/* oklch */ color: oklch(64.3% 0.042 259.3);
Tailwind
colors: {
  custom: {
    50: '#a4afc1',
    500: '#7e8ea7',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ea7;
$custom-light: #a4afc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ea7",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 167
  },
  "hsl": {
    "h": 216.585,
    "s": 18.894,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64275,
    "c": 0.04191,
    "h": 259.3
  },
  "luminance": 0.26572
}

Semantic roles & 50–950 ramp

primary
#7E8EA7
secondary
#C9C2B8
accent
#9D6CBC
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7E8EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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