#42797B#42797B

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

Color values

HEX#42797B
RGBrgb(66, 121, 123)
HSLhsl(182, 30%, 37%)
HSVhsv(182, 46%, 48%)
CMYKcmyk(46.3%, 1.6%, 0%, 51.8%)
CIE-LABlab(47.32, -17.58, -6.77)
CIE-LCHlch(47.32, 18.84, 201.05°)
OKLaboklab(53.92% -0.0553 -0.0186)
OKLCHoklch(53.92% 0.058 198.6)
XYZxyz(12.6579, 16.2620, 21.2069)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42797B #7B4442
analogous
#427B61 #42797B #425D7B
triadic
#42797B #7B4279 #797B42
tetradic
#42797B #61427B #7B4442 #5D7B42
square
#42797B #61427B #7B4442 #5D7B42
split-complementary
#42797B #7B425D #7B6142
monochromatic
#172B2B #2D5253 #42797B #57A0A3 #7EB8BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42797B#FFFFFF#000000##FFFFFF
##42797B1.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)
#72747B
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#257C79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #42797b;
/* rgb */ color: rgb(66, 121, 123);
/* oklch */ color: oklch(53.9% 0.058 198.6);
Tailwind
colors: {
  custom: {
    50: '#7ba0a1',
    500: '#42797b',
    950: '#000000',
  },
}
SCSS
$custom: #42797b;
$custom-light: #7ba0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42797b",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 123
  },
  "hsl": {
    "h": 182.105,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.05838,
    "h": 198.6
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#42797B
secondary
#A57674
accent
#6561C6
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#0A0E0E
muted
#7C7E7E

Preview Lab

Preview with #42797B

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

Preview Lab → · Contrast checker → · Palette generator →

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