#7E8EA2#7E8EA2

#7E8EA2 is a light, muted cyan. Relative luminance 0.264; OKLCH L 64.1% C 0.035 H 254.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7E8EA2
RGBrgb(126, 142, 162)
HSLhsl(213, 16%, 56%)
HSVhsv(213, 22%, 64%)
CMYKcmyk(22.2%, 12.3%, 0%, 36.5%)
CIE-LABlab(58.41, -1.22, -12.48)
CIE-LCHlch(58.41, 12.54, 264.41°)
OKLaboklab(64.09% -0.0097 -0.034)
OKLCHoklch(64.09% 0.035 254.1)
XYZxyz(24.7970, 26.3896, 37.9626)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8EA2 #A2927E
analogous
#7EA0A2 #7E8EA2 #807EA2
triadic
#7E8EA2 #A27E8E #8EA27E
tetradic
#7E8EA2 #A27EA0 #A2927E #7EA280
square
#7E8EA2 #A27EA0 #A2927E #7EA280
split-complementary
#7E8EA2 #A2807E #A0A27E
monochromatic
#455160 #5F6F84 #7E8EA2 #A2ADBC #C5CCD5

Accessibility & contrast

On white

3.35
#7E8EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#7E8EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8EA2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8EA2#FFFFFF#000000##000000
##7E8EA21.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#838BA2
Tritanopia (blue-blind)
#759294
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e8ea2;
/* rgb */ color: rgb(126, 142, 162);
/* oklch */ color: oklch(64.1% 0.035 254.1);
Tailwind
colors: {
  custom: {
    50: '#a4afbd',
    500: '#7e8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ea2;
$custom-light: #a4afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ea2",
  "rgb": {
    "r": 126,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 213.333,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64085,
    "c": 0.03532,
    "h": 254.1
  },
  "luminance": 0.2639
}

Semantic roles & 50–950 ramp

primary
#7E8EA2
secondary
#C5BFB7
accent
#986FB9
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7E8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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