#42797A#42797A

#42797A is a mid, muted teal. Relative luminance 0.162; OKLCH L 53.9% C 0.058 H 197.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#42797A
RGBrgb(66, 121, 122)
HSLhsl(181, 30%, 37%)
HSVhsv(181, 46%, 48%)
CMYKcmyk(45.9%, 0.8%, 0%, 52.2%)
CIE-LABlab(47.28, -17.86, -6.22)
CIE-LCHlch(47.28, 18.91, 199.20°)
OKLaboklab(53.88% -0.0558 -0.0171)
OKLCHoklch(53.88% 0.058 197.1)
XYZxyz(12.5956, 16.2371, 20.8789)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42797A #7A4342
analogous
#427A5F #42797A #425D7A
triadic
#42797A #7A4279 #797A42
tetradic
#42797A #5F427A #7A4342 #5D7A42
square
#42797A #5F427A #7A4342 #5D7A42
split-complementary
#42797A #7A425D #7A5F42
monochromatic
#172A2B #2D5252 #42797A #57A0A2 #7DB8B9

Accessibility & contrast

On white

4.94
#42797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#42797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42797A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42797A#FFFFFF#000000##FFFFFF
##42797A1.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)
#72747A
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#257C79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #42797a;
/* rgb */ color: rgb(66, 121, 122);
/* oklch */ color: oklch(53.9% 0.058 197.1);
Tailwind
colors: {
  custom: {
    50: '#7ba0a0',
    500: '#42797a',
    950: '#000000',
  },
}
SCSS
$custom: #42797a;
$custom-light: #7ba0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42797a",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 181.071,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.05836,
    "h": 197.1
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#42797A
secondary
#A47574
accent
#6462C6
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #42797A

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

Preview Lab → · Contrast checker → · Palette generator →

#42797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva