Skip to content

#3f7eac

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

RGB
63, 126, 172
HSL
205°, 46%, 46%
CMYK
63, 27, 0, 33
Luminance
0.1896

At a glance

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

Hex
#3f7eac
Hue
205°
blue
Saturation
46%
vivid
Lightness
46%
balanced
Brightness
67%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1896
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.79:1
Closest name
Steel Blue
ΔE2000 2.1
Where it sits
Hue205° of 360°
Saturation46%
Lightness46%
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#3f7eac
RGBrgb(63, 126, 172)
HSLhsl(205, 46%, 46%)
CMYKcmyk(63%, 27%, 0%, 33%)
LABlab(50.6 -5.8 -30.4)
LCHlch(50.6 31.0 259.3)
OKLCHoklch(0.572 0.096 242.7)
Decimal4161196
Display P3color(display-p3 0.247 0.494 0.675)

Copy-ready code

/* CSS */
color: #3f7eac;
background-color: #3f7eac;
/* Tailwind (arbitrary) */
class="text-[#3f7eac] bg-[#3f7eac]"
/* SCSS */
$brand: #3f7eac;
/* SwiftUI */
Color(red: 0.247, green: 0.494, blue: 0.675)
/* Android */
Color.parseColor("#3f7eac")
/* Flutter */
Color(0xFF3F7EAC)
/* Python / OpenCV (BGR) */
(172, 126, 63)

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 #3f7eac · 4.79:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.38:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.79:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #3f7eac as text scores 4.38:1 on white and 4.79:1 on black.

Accessibility — WCAG contrast

Aa
#3f7eac on white: 4.38:1
AA ✗ fail · AA-large · AAA
Aa
#3f7eac on black: 4.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #697FAE
deuteranopia · #5B74AB
tritanopia · #00898E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3f7eac 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.

#F5F8FA
#EAF1F5
#D0E0EB
#ADCBE1
#84B1D2
#5B97C3
#3f7eac
#376D95
#2C5877
#234157
#162937
Base = 600Lightest = 50 · #F5F8FADarkest = 950 · #162937
:root {
  --brand-50: #F5F8FA;
  --brand-100: #EAF1F5;
  --brand-200: #D0E0EB;
  --brand-300: #ADCBE1;
  --brand-400: #84B1D2;
  --brand-500: #5B97C3;
  --brand-600: #3f7eac;
  --brand-700: #376D95;
  --brand-800: #2C5877;
  --brand-900: #234157;
  --brand-950: #162937;
  --brand: #3f7eac;
  --brand-ink: #000000;
}

Colors that work with #3f7eac

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#C3D9E9
Hairlines and dividers
Muted text#4B799B
Captions on the surface
Accent#B14F3A
Second voice, not a rival
Dark variant#22445D
Hover, pressed, headers
Light variant#ECF3F8
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 #3f7eac

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#AC6D3F
Analogous left#3FACA4
Analogous right#3F48AC
Split-complement 1#AC3F48
Split-complement 2#ACA43F
Triadic 1#AC3F7E
Triadic 2#7EAC3F
Tetradic#A43FAC

RGB percentages

Red24.7%
Green49.4%
Blue67.5%

CMYK percentages

Cyan63.4%
Magenta26.7%
Yellow0.0%
Key (black)32.5%

Color previews

#3f7eac text on a black background

contrast 4.79:1

Card sample

#3f7eac text on a white background

contrast 4.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3f7eac;
Background color
Panel with #3f7eac background
background-color: #3f7eac;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3f7eac;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(63, 126, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 126, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f7eac;
background: linear-gradient(135deg, #3f7eac, #493FAC);

Monochromatic scale

Palettes built from #3f7eac

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.

#3f7eac 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.

#3f7eac, answered

What color is #3f7eac?

#3f7eac is a balanced vivid blue, closest to Steel Blue (ΔE2000 2.1). It sits at 205° on the hue wheel with 46% saturation and 46% lightness, which reads as cool.

What is the RGB value of #3f7eac?

rgb(63, 126, 172) — 63 red, 126 green and 172 blue out of 255, or 24.7% / 49.4% / 67.5% by channel.

Is #3f7eac a light or a dark color?

It is a mid-tone. Relative luminance is 0.1896 and perceived brightness is 46%, so black text on it reaches 4.79:1.

Should I use black or white text on #3f7eac?

Black. It scores 4.79:1 against #3f7eac, versus 4.38:1 for white — AA at any size.

What is the complementary color of #3f7eac?

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

What colors go well with #3f7eac?

For interface work: #F4F8FA as the surface, #C3D9E9 for borders, #4B799B for secondary text, #B14F3A as an accent and #22445D for hover and pressed states. For a palette, the analogous pair #3FACA4 and #3F48AC stays calm, while #AC6D3F is the loudest partner.

What is #3f7eac in CMYK for printing?

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

Is #3f7eac 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 #3FA6AC; nudged cooler, #366A9C.

Work with #3f7eac in the Color Lab