Skip to content

#397cac

a dark, vivid blue · cool · closest name: Steel Blue

RGB
57, 124, 172
HSL
205°, 50%, 45%
CMYK
67, 28, 0, 33
Luminance
0.1826

At a glance

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

Hex
#397cac
Hue
205°
blue
Saturation
50%
vivid
Lightness
45%
dark
Brightness
67%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1826
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.65:1
Closest name
Steel Blue
ΔE2000 2.9
Where it sits
Hue205° of 360°
Saturation50%
Lightness45%
Temperature
Warm ← → Cool98% 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#397cac
RGBrgb(57, 124, 172)
HSLhsl(205, 50%, 45%)
CMYKcmyk(67%, 28%, 0%, 33%)
LABlab(49.8 -5.7 -31.8)
LCHlch(49.8 32.3 259.9)
OKLCHoklch(0.565 0.101 242.6)
Decimal3767468
Display P3color(display-p3 0.224 0.486 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#397cac on white: 4.51:1
AA ✓ pass · AA-large · AAA
Aa
#397cac on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #667DAE
deuteranopia · #5771AB
tritanopia · #00888D

Color scale — 50 to 950

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

#F4F8FA
#EAF1F6
#CFE0EC
#ABCCE3
#81B2D5
#5698C7
#397cac
#336F99
#29587B
#214259
#152938
Base = 600Lightest = 50 · #F4F8FADarkest = 950 · #152938
:root {
  --brand-50: #F4F8FA;
  --brand-100: #EAF1F6;
  --brand-200: #CFE0EC;
  --brand-300: #ABCCE3;
  --brand-400: #81B2D5;
  --brand-500: #5698C7;
  --brand-600: #397cac;
  --brand-700: #336F99;
  --brand-800: #29587B;
  --brand-900: #214259;
  --brand-950: #152938;
  --brand: #397cac;
  --brand-ink: #000000;
}

Colors that work with #397cac

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#F4F8FA
Tinted page background
Border#C2DAEB
Hairlines and dividers
Muted text#4B799B
Captions on the surface
Accent#B14934
Second voice, not a rival
Dark variant#204560
Hover, pressed, headers
Light variant#ECF3F9
Selected rows, tints
Dark surface#141D24
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 #397cac

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#AC6939
Analogous left#39ACA2
Analogous right#3943AC
Split-complement 1#AC3943
Split-complement 2#ACA239
Triadic 1#AC397C
Triadic 2#7CAC39
Tetradic#A239AC

RGB percentages

Red22.4%
Green48.6%
Blue67.5%

CMYK percentages

Cyan66.9%
Magenta27.9%
Yellow0.0%
Key (black)32.5%

Color previews

#397cac text on a black background

contrast 4.65:1

Card sample

#397cac text on a white background

contrast 4.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(57, 124, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(57, 124, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #397cac;
background: linear-gradient(135deg, #397cac, #4339AC);

Monochromatic scale

Palettes built from #397cac

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.

#397cac in the real world

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

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#397cac, answered

What color is #397cac?

#397cac is a dark vivid blue, closest to Steel Blue (ΔE2000 2.9). It sits at 205° on the hue wheel with 50% saturation and 45% lightness, which reads as cool.

What is the RGB value of #397cac?

rgb(57, 124, 172) — 57 red, 124 green and 172 blue out of 255, or 22.4% / 48.6% / 67.5% by channel.

Is #397cac a light or a dark color?

It is a mid-tone. Relative luminance is 0.1826 and perceived brightness is 45%, so black text on it reaches 4.65:1.

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

Black. It scores 4.65:1 against #397cac, versus 4.51:1 for white — AA at any size.

What is the complementary color of #397cac?

#AC6939 sits directly opposite on the wheel. Softer options are the split-complements #AC3943 and #ACA239, which give the same contrast with far less vibration.

What colors go well with #397cac?

For interface work: #F4F8FA as the surface, #C2DAEB for borders, #4B799B for secondary text, #B14934 as an accent and #204560 for hover and pressed states. For a palette, the analogous pair #39ACA2 and #3943AC stays calm, while #AC6939 is the loudest partner.

What is #397cac in CMYK for printing?

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

Is #397cac warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #39A6AC; nudged cooler, #31679B.

Work with #397cac in the Color Lab