#4E7871#4E7871

#4E7871 is a mid, muted teal. Relative luminance 0.162; OKLCH L 54.0% C 0.048 H 182.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E7871
RGBrgb(78, 120, 113)
HSLhsl(170, 21%, 39%)
HSVhsv(170, 35%, 47%)
CMYKcmyk(35%, 0%, 5.8%, 52.9%)
CIE-LABlab(47.29, -16.28, -0.80)
CIE-LCHlch(47.29, 16.29, 182.81°)
OKLaboklab(53.96% -0.0481 -0.0024)
OKLCHoklch(53.96% 0.048 182.9)
XYZxyz(12.8379, 16.2441, 18.0785)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7871 #784E55
analogous
#4E785C #4E7871 #4E6A78
triadic
#4E7871 #714E78 #78714E
tetradic
#4E7871 #5C4E78 #784E55 #6A784E
square
#4E7871 #5C4E78 #784E55 #6A784E
split-complementary
#4E7871 #784E6A #785C4E
monochromatic
#1E2E2B #36534E #4E7871 #679C93 #8CB4AE

Accessibility & contrast

On white

4.94
#4E7871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4E7871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7871
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7871#FFFFFF#000000##FFFFFF
##4E78711.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#6D6E72
Tritanopia (blue-blind)
#407A76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7871;
/* rgb */ color: rgb(78, 120, 113);
/* oklch */ color: oklch(54.0% 0.048 182.9);
Tailwind
colors: {
  custom: {
    50: '#819f99',
    500: '#4e7871',
    950: '#000000',
  },
}
SCSS
$custom: #4e7871;
$custom-light: #819f99;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7871",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 170,
    "s": 21.212,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.04813,
    "h": 182.9
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#4E7871
secondary
#A18186
accent
#6A78BE
background
#F8F9F9
surface
#EFF2F2
border
#CACCCC
text
#0A0E0E
muted
#7C7E7E

Preview Lab

Preview with #4E7871

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

Preview Lab → · Contrast checker → · Palette generator →

#4E7871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva