#7F8EA2#7F8EA2

#7F8EA2 is a light, muted cyan. Relative luminance 0.265; OKLCH L 64.2% C 0.035 H 255.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F8EA2
RGBrgb(127, 142, 162)
HSLhsl(214, 16%, 57%)
HSVhsv(214, 22%, 64%)
CMYKcmyk(21.6%, 12.3%, 0%, 36.5%)
CIE-LABlab(58.48, -0.90, -12.37)
CIE-LCHlch(58.48, 12.40, 265.86°)
OKLaboklab(64.16% -0.0086 -0.0336)
OKLCHoklch(64.16% 0.035 255.6)
XYZxyz(24.9453, 26.4660, 37.9696)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8EA2 #A2937F
analogous
#7FA0A2 #7F8EA2 #827FA2
triadic
#7F8EA2 #A27F8E #8EA27F
tetradic
#7F8EA2 #A27FA0 #A2937F #7FA282
square
#7F8EA2 #A27FA0 #A2937F #7FA282
split-complementary
#7F8EA2 #A2827F #A0A27F
monochromatic
#465160 #606F84 #7F8EA2 #A2ADBC #C6CDD6

Accessibility & contrast

On white

3.34
#7F8EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7F8EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8EA2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8EA2#FFFFFF#000000##000000
##7F8EA21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#878FA3
Deuteranopia (green-blind)
#838BA2
Tritanopia (blue-blind)
#769294
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f8ea2;
/* rgb */ color: rgb(127, 142, 162);
/* oklch */ color: oklch(64.2% 0.035 255.6);
Tailwind
colors: {
  custom: {
    50: '#a4afbd',
    500: '#7f8ea2',
    950: '#000000',
  },
}
SCSS
$custom: #7f8ea2;
$custom-light: #a4afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8ea2",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 214.286,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.03472,
    "h": 255.6
  },
  "luminance": 0.26467
}

Semantic roles & 50–950 ramp

primary
#7F8EA2
secondary
#C6BFB7
accent
#996FB9
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #7F8EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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