Skip to content

#397b71

a dark, soft cyan · cool · closest name: Teal

RGB
57, 123, 113
HSL
171°, 37%, 35%
CMYK
54, 0, 8, 52
Luminance
0.1623

At a glance

Every number on this page in one read: what #397b71 is made of, how bright it looks, and which way it leans.

Hex
#397b71
Hue
171°
cyan
Saturation
37%
soft
Lightness
35%
dark
Brightness
48%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1623
WCAG relative
Temperature
Cool
84/100 cool
Color family
Cyan
Tone
Soft
Best ink
White
4.95:1
Closest name
Teal
ΔE2000 5.6
Where it sits
Hue171° of 360°
Saturation37%
Lightness35%
Temperature
Warm ← → Cool84% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#397b71
RGBrgb(57, 123, 113)
HSLhsl(171, 37%, 35%)
CMYKcmyk(54%, 0%, 8%, 52%)
LABlab(47.3 -23.6 -0.9)
LCHlch(47.3 23.7 182.3)
OKLCHoklch(0.537 0.069 182.4)
Decimal3767153
Display P3color(display-p3 0.224 0.482 0.443)

Copy-ready code

/* CSS */
color: #397b71;
background-color: #397b71;
/* Tailwind (arbitrary) */
class="text-[#397b71] bg-[#397b71]"
/* SCSS */
$brand: #397b71;
/* SwiftUI */
Color(red: 0.224, green: 0.482, blue: 0.443)
/* Android */
Color.parseColor("#397b71")
/* Flutter */
Color(0xFF397B71)
/* Python / OpenCV (BGR) */
(113, 123, 57)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #397b71 · 4.95:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.95:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.25:1
AA fail · AA large pass · AAA fail
Reading the other direction: #397b71 as text scores 4.95:1 on white and 4.25:1 on black.

Accessibility — WCAG contrast

Aa
#397b71 on white: 4.95:1
AA ✓ pass · AA-large · AAA
Aa
#397b71 on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #767571
deuteranopia · #6B6D72
tritanopia · #137D78

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #397b71 is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5FAF9
#EBF4F3
#D3E9E5
#B2DBD5
#8CCAC0
#66B8AB
#4DA79A
#418B80
#397b71
#29524C
#19332F
Base = 800Lightest = 50 · #F5FAF9Darkest = 950 · #19332F
:root {
  --brand-50: #F5FAF9;
  --brand-100: #EBF4F3;
  --brand-200: #D3E9E5;
  --brand-300: #B2DBD5;
  --brand-400: #8CCAC0;
  --brand-500: #66B8AB;
  --brand-600: #4DA79A;
  --brand-700: #418B80;
  --brand-800: #397b71;
  --brand-900: #29524C;
  --brand-950: #19332F;
  --brand: #397b71;
  --brand-ink: #ffffff;
}

Colors that work with #397b71

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F5FAF9
Tinted page background
Border#C7E5E1
Hairlines and dividers
Muted text#4B9B8F
Captions on the surface
Accent#7F3553
Second voice, not a rival
Dark variant#285750
Hover, pressed, headers
Light variant#EEF7F6
Selected rows, tints
Dark surface#142422
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #397b71

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#7B3943
Analogous left#397B50
Analogous right#39647B
Split-complement 1#7B3964
Split-complement 2#7B5039
Triadic 1#71397B
Triadic 2#7B7139
Tetradic#50397B

RGB percentages

Red22.4%
Green48.2%
Blue44.3%

CMYK percentages

Cyan53.7%
Magenta0.0%
Yellow8.1%
Key (black)51.8%

Color previews

#397b71 text on a black background

contrast 4.25:1

Card sample

#397b71 text on a white background

contrast 4.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #397b71;
Background color
Panel with #397b71 background
background-color: #397b71;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #397b71;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 123, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 123, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #397b71;
background: linear-gradient(135deg, #397b71, #39597B);

Monochromatic scale

Palettes built from #397b71

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#397b71 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#397b71, answered

What color is #397b71?

#397b71 is a dark soft cyan, closest to Teal (ΔE2000 5.6). It sits at 171° on the hue wheel with 37% saturation and 35% lightness, which reads as cool.

What is the RGB value of #397b71?

rgb(57, 123, 113) — 57 red, 123 green and 113 blue out of 255, or 22.4% / 48.2% / 44.3% by channel.

Is #397b71 a light or a dark color?

It is a dark color. Relative luminance is 0.1623 and perceived brightness is 42%, so white text on it reaches 4.95:1.

Should I use black or white text on #397b71?

White. It scores 4.95:1 against #397b71, versus 4.25:1 for black — AA at any size.

What is the complementary color of #397b71?

#7B3943 sits directly opposite on the wheel. Softer options are the split-complements #7B3964 and #7B5039, which give the same contrast with far less vibration.

What colors go well with #397b71?

For interface work: #F5FAF9 as the surface, #C7E5E1 for borders, #4B9B8F for secondary text, #7F3553 as an accent and #285750 for hover and pressed states. For a palette, the analogous pair #397B50 and #39647B stays calm, while #7B3943 is the loudest partner.

What is #397b71 in CMYK for printing?

cmyk(54%, 0%, 8%, 52%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #397b71 warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #397B59; nudged cooler, #376E7D.

Work with #397b71 in the Color Lab