#42797C#42797C

#42797C is a mid, muted teal. Relative luminance 0.163; OKLCH L 54.0% C 0.058 H 200.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#42797C
RGBrgb(66, 121, 124)
HSLhsl(183, 31%, 37%)
HSVhsv(183, 47%, 49%)
CMYKcmyk(46.8%, 2.4%, 0%, 51.4%)
CIE-LABlab(47.35, -17.30, -7.31)
CIE-LCHlch(47.35, 18.78, 202.91°)
OKLaboklab(53.96% -0.0549 -0.0201)
OKLCHoklch(53.96% 0.058 200.1)
XYZxyz(12.7208, 16.2872, 21.5383)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42797C #7C4542
analogous
#427C62 #42797C #425C7C
triadic
#42797C #7C4279 #797C42
tetradic
#42797C #62427C #7C4542 #5C7C42
square
#42797C #62427C #7C4542 #5C7C42
split-complementary
#42797C #7C425C #7C6242
monochromatic
#172B2C #2D5254 #42797C #57A0A4 #7EB7BA

Accessibility & contrast

On white

4.93
#42797C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#42797C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42797C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42797C#FFFFFF#000000##FFFFFF
##42797C1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757C
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#247D7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #42797c;
/* rgb */ color: rgb(66, 121, 124);
/* oklch */ color: oklch(54.0% 0.058 200.1);
Tailwind
colors: {
  custom: {
    50: '#7ba0a1',
    500: '#42797c',
    950: '#000000',
  },
}
SCSS
$custom: #42797c;
$custom-light: #7ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42797c",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 124
  },
  "hsl": {
    "h": 183.103,
    "s": 30.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53956,
    "c": 0.05845,
    "h": 200.1
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#42797C
secondary
#A57775
accent
#6661C7
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#0A0E0F
muted
#7C7E7E

Preview Lab

Preview with #42797C

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

Preview Lab → · Contrast checker → · Palette generator →

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