Skip to content

#398e8c

a dark, soft cyan · cool · closest name: Dark Cyan

RGB
57, 142, 140
HSL
179°, 43%, 39%
CMYK
60, 0, 1, 44
Luminance
0.2211

At a glance

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

Hex
#398e8c
Hue
179°
cyan
Saturation
43%
soft
Lightness
39%
dark
Brightness
56%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2211
WCAG relative
Temperature
Cool
87/100 cool
Color family
Cyan
Tone
Soft
Best ink
Black
5.42:1
Closest name
Dark Cyan
ΔE2000 3.1
Where it sits
Hue179° of 360°
Saturation43%
Lightness39%
Temperature
Warm ← → Cool87% 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#398e8c
RGBrgb(57, 142, 140)
HSLhsl(179, 43%, 39%)
CMYKcmyk(60%, 0%, 1%, 44%)
LABlab(54.1 -25.7 -6.6)
LCHlch(54.1 26.6 194.4)
OKLCHoklch(0.595 0.081 193.0)
Decimal3772044
Display P3color(display-p3 0.224 0.557 0.549)

Copy-ready code

/* CSS */
color: #398e8c;
background-color: #398e8c;
/* Tailwind (arbitrary) */
class="text-[#398e8c] bg-[#398e8c]"
/* SCSS */
$brand: #398e8c;
/* SwiftUI */
Color(red: 0.224, green: 0.557, blue: 0.549)
/* Android */
Color.parseColor("#398e8c")
/* Flutter */
Color(0xFF398E8C)
/* Python / OpenCV (BGR) */
(140, 142, 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#000000 on #398e8c · 5.42:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.87:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.42:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #398e8c as text scores 3.87:1 on white and 5.42:1 on black.

Accessibility — WCAG contrast

Aa
#398e8c on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#398e8c on black: 5.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #86878C
deuteranopia · #787D8D
tritanopia · #00928D

Color scale — 50 to 950

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

#F5FAFA
#EBF5F5
#D1EAEA
#AFDFDE
#87CFCD
#5FBFBC
#46AFAC
#398e8c
#2F7473
#255554
#173535
Base = 700Lightest = 50 · #F5FAFADarkest = 950 · #173535
:root {
  --brand-50: #F5FAFA;
  --brand-100: #EBF5F5;
  --brand-200: #D1EAEA;
  --brand-300: #AFDFDE;
  --brand-400: #87CFCD;
  --brand-500: #5FBFBC;
  --brand-600: #46AFAC;
  --brand-700: #398e8c;
  --brand-800: #2F7473;
  --brand-900: #255554;
  --brand-950: #173535;
  --brand: #398e8c;
  --brand-ink: #000000;
}

Colors that work with #398e8c

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

Text on it#000000
Black wins here
Surface#F4FAFA
Tinted page background
Border#C5E8E7
Hairlines and dividers
Muted text#4B9B99
Captions on the surface
Accent#92354E
Second voice, not a rival
Dark variant#255B5A
Hover, pressed, headers
Light variant#EDF8F7
Selected rows, tints
Dark surface#142424
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 #398e8c

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#8E393B
Analogous left#398E61
Analogous right#39658E
Split-complement 1#8E3965
Split-complement 2#8E6139
Triadic 1#8C398E
Triadic 2#8E8C39
Tetradic#61398E

RGB percentages

Red22.4%
Green55.7%
Blue54.9%

CMYK percentages

Cyan59.9%
Magenta0.0%
Yellow1.4%
Key (black)44.3%

Color previews

#398e8c text on a black background

contrast 5.42:1

Card sample

#398e8c text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #398e8c;
Background color
Panel with #398e8c background
background-color: #398e8c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #398e8c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(57, 142, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 142, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #398e8c;
background: linear-gradient(135deg, #398e8c, #39578E);

Monochromatic scale

Palettes built from #398e8c

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.

#398e8c 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.

#398e8c, answered

What color is #398e8c?

#398e8c is a dark soft cyan, closest to Dark Cyan (ΔE2000 3.1). It sits at 179° on the hue wheel with 43% saturation and 39% lightness, which reads as cool.

What is the RGB value of #398e8c?

rgb(57, 142, 140) — 57 red, 142 green and 140 blue out of 255, or 22.4% / 55.7% / 54.9% by channel.

Is #398e8c a light or a dark color?

It is a mid-tone. Relative luminance is 0.2211 and perceived brightness is 48%, so black text on it reaches 5.42:1.

Should I use black or white text on #398e8c?

Black. It scores 5.42:1 against #398e8c, versus 3.87:1 for white — AA at any size.

What is the complementary color of #398e8c?

#8E393B sits directly opposite on the wheel. Softer options are the split-complements #8E3965 and #8E6139, which give the same contrast with far less vibration.

What colors go well with #398e8c?

For interface work: #F4FAFA as the surface, #C5E8E7 for borders, #4B9B99 for secondary text, #92354E as an accent and #255B5A for hover and pressed states. For a palette, the analogous pair #398E61 and #39658E stays calm, while #8E393B is the loudest partner.

What is #398e8c in CMYK for printing?

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

Is #398e8c warm or cool?

Cool — it scores 87 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #398E6D; nudged cooler, #377190.

Work with #398e8c in the Color Lab