#397A5F#397A5F

#397A5F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.080 H 164.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#397A5F
RGBrgb(57, 122, 95)
HSLhsl(155, 36%, 35%)
HSVhsv(155, 53%, 48%)
CMYKcmyk(53.3%, 0%, 22.1%, 52.2%)
CIE-LABlab(46.46, -27.73, 8.53)
CIE-LCHlch(46.46, 29.01, 162.90°)
OKLaboklab(52.86% -0.077 0.0219)
OKLCHoklch(52.86% 0.08 164.1)
XYZxyz(10.7115, 15.6142, 13.2736)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A5F #7A3954
analogous
#397A3E #397A5F #39747A
triadic
#397A5F #5F397A #7A5F39
tetradic
#397A5F #3E397A #7A3954 #747A39
square
#397A5F #3E397A #7A3954 #747A39
split-complementary
#397A5F #7A3974 #7A3E39
monochromatic
#12271E #26503F #397A5F #4CA47F #71BD9D

Accessibility & contrast

On white

5.09
#397A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#397A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A5F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A5F#FFFFFF#000000##FFFFFF
##397A5F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725E
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#227A72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397a5f;
/* rgb */ color: rgb(57, 122, 95);
/* oklch */ color: oklch(52.9% 0.080 164.1);
Tailwind
colors: {
  custom: {
    50: '#75a18c',
    500: '#397a5f',
    950: '#000000',
  },
}
SCSS
$custom: #397a5f;
$custom-light: #75a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#397a5f",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 155.077,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.08005,
    "h": 164.1
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#397A5F
secondary
#A66982
accent
#5B8ACC
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#090F0C
muted
#7B7E7D

Preview Lab

Preview with #397A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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