#397971#397971

#397971 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.2% C 0.067 H 184.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#397971
RGBrgb(57, 121, 113)
HSLhsl(173, 36%, 35%)
HSVhsv(173, 53%, 47%)
CMYKcmyk(52.9%, 0%, 6.6%, 52.5%)
CIE-LABlab(46.63, -22.61, -1.89)
CIE-LCHlch(46.63, 22.69, 184.79°)
OKLaboklab(53.15% -0.0669 -0.0055)
OKLCHoklch(53.15% 0.067 184.7)
XYZxyz(11.5041, 15.7358, 18.0507)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397971 #793941
analogous
#397951 #397971 #396179
triadic
#397971 #713979 #797139
tetradic
#397971 #513979 #793941 #617939
square
#397971 #513979 #793941 #617939
split-complementary
#397971 #793961 #795139
monochromatic
#122623 #254F4A #397971 #4DA398 #71BCB2

Accessibility & contrast

On white

5.06
#397971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#397971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397971
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397971#FFFFFF#000000##FFFFFF
##3979711.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#147B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397971;
/* rgb */ color: rgb(57, 121, 113);
/* oklch */ color: oklch(53.2% 0.067 184.7);
Tailwind
colors: {
  custom: {
    50: '#75a099',
    500: '#397971',
    950: '#000000',
  },
}
SCSS
$custom: #397971;
$custom-light: #75a099;
$custom-dark: #000000;
JSON
{
  "hex": "#397971",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 172.5,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.06713,
    "h": 184.7
  },
  "luminance": 0.15737
}

Semantic roles & 50–950 ramp

primary
#397971
secondary
#A56970
accent
#5C6ACC
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0E
muted
#7B7E7E

Preview Lab

Preview with #397971

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

Preview Lab → · Contrast checker → · Palette generator →

#397971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva