#397F6F#397F6F

#397F6F is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.7% C 0.075 H 176.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#397F6F
RGBrgb(57, 127, 111)
HSLhsl(166, 38%, 36%)
HSVhsv(166, 55%, 50%)
CMYKcmyk(55.1%, 0%, 12.6%, 50.2%)
CIE-LABlab(48.51, -26.20, 2.03)
CIE-LCHlch(48.51, 26.28, 175.56°)
OKLaboklab(54.66% -0.0752 0.005)
OKLCHoklch(54.66% 0.075 176.2)
XYZxyz(12.1447, 17.1952, 17.7148)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F6F #7F3949
analogous
#397F4C #397F6F #396C7F
triadic
#397F6F #6F397F #7F6F39
tetradic
#397F6F #4C397F #7F3949 #6C7F39
square
#397F6F #4C397F #7F3949 #6C7F39
split-complementary
#397F6F #7F396C #7F4C39
monochromatic
#132B25 #26554A #397F6F #4CA994 #72C0AE

Accessibility & contrast

On white

4.73
#397F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#397F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F6F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F6F#FFFFFF#000000##FFFFFF
##397F6F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B786E
Deuteranopia (green-blind)
#707070
Tritanopia (blue-blind)
#13817A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #397f6f;
/* rgb */ color: rgb(57, 127, 111);
/* oklch */ color: oklch(54.7% 0.075 176.2);
Tailwind
colors: {
  custom: {
    50: '#76a498',
    500: '#397f6f',
    950: '#000000',
  },
}
SCSS
$custom: #397f6f;
$custom-light: #76a498;
$custom-dark: #000000;
JSON
{
  "hex": "#397f6f",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 111
  },
  "hsl": {
    "h": 166.286,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54657,
    "c": 0.07535,
    "h": 176.2
  },
  "luminance": 0.17196
}

Semantic roles & 50–950 ramp

primary
#397F6F
secondary
#A96B79
accent
#5A74CE
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0D
muted
#7B7F7E

Preview Lab

Preview with #397F6F

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

Preview Lab → · Contrast checker → · Palette generator →

#397F6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva