Skip to content

#3a7dbb

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

RGB
58, 125, 187
HSL
209°, 53%, 48%
CMYK
69, 33, 0, 27
Luminance
0.1915

At a glance

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

Hex
#3a7dbb
Hue
209°
blue
Saturation
53%
vivid
Lightness
48%
balanced
Brightness
73%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1915
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.83:1
Closest name
Steel Blue
ΔE2000 2.4
Where it sits
Hue209° of 360°
Saturation53%
Lightness48%
Temperature
Warm ← → Cool99% 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#3a7dbb
RGBrgb(58, 125, 187)
HSLhsl(209, 53%, 48%)
CMYKcmyk(69%, 33%, 0%, 27%)
LABlab(50.9 -0.8 -38.8)
LCHlch(50.9 38.8 268.8)
OKLCHoklch(0.575 0.118 249.0)
Decimal3833275
Display P3color(display-p3 0.227 0.490 0.733)

Copy-ready code

/* CSS */
color: #3a7dbb;
background-color: #3a7dbb;
/* Tailwind (arbitrary) */
class="text-[#3a7dbb] bg-[#3a7dbb]"
/* SCSS */
$brand: #3a7dbb;
/* SwiftUI */
Color(red: 0.227, green: 0.490, blue: 0.733)
/* Android */
Color.parseColor("#3a7dbb")
/* Flutter */
Color(0xFF3A7DBB)
/* Python / OpenCV (BGR) */
(187, 125, 58)

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

Accessibility — WCAG contrast

Aa
#3a7dbb on white: 4.35:1
AA ✗ fail · AA-large · AAA
Aa
#3a7dbb on black: 4.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6180BE
deuteranopia · #4F74BA
tritanopia · #008C93

Color scale — 50 to 950

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

#F4F7FA
#E9F0F6
#CEDEED
#A9C8E4
#7FADD7
#5491CA
#3a7dbb
#30689C
#27537D
#203E5B
#142739
Base = 600Lightest = 50 · #F4F7FADarkest = 950 · #142739
:root {
  --brand-50: #F4F7FA;
  --brand-100: #E9F0F6;
  --brand-200: #CEDEED;
  --brand-300: #A9C8E4;
  --brand-400: #7FADD7;
  --brand-500: #5491CA;
  --brand-600: #3a7dbb;
  --brand-700: #30689C;
  --brand-800: #27537D;
  --brand-900: #203E5B;
  --brand-950: #142739;
  --brand: #3a7dbb;
  --brand-ink: #000000;
}

Colors that work with #3a7dbb

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#F4F7FA
Tinted page background
Border#C1D7EC
Hairlines and dividers
Muted text#4B749B
Captions on the surface
Accent#C05535
Second voice, not a rival
Dark variant#1E4161
Hover, pressed, headers
Light variant#ECF3F9
Selected rows, tints
Dark surface#141C24
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 #3a7dbb

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#BB783A
Analogous left#3ABBB8
Analogous right#3A3CBB
Split-complement 1#BB3A3C
Split-complement 2#BBB83A
Triadic 1#BB3A7D
Triadic 2#7DBB3A
Tetradic#B83ABB

RGB percentages

Red22.7%
Green49.0%
Blue73.3%

CMYK percentages

Cyan69.0%
Magenta33.2%
Yellow0.0%
Key (black)26.7%

Color previews

#3a7dbb text on a black background

contrast 4.83:1

Card sample

#3a7dbb text on a white background

contrast 4.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 125, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 125, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a7dbb;
background: linear-gradient(135deg, #3a7dbb, #4D3ABB);

Monochromatic scale

Palettes built from #3a7dbb

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.

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

#3a7dbb, answered

What color is #3a7dbb?

#3a7dbb is a balanced vivid blue, closest to Steel Blue (ΔE2000 2.4). It sits at 209° on the hue wheel with 53% saturation and 48% lightness, which reads as cool.

What is the RGB value of #3a7dbb?

rgb(58, 125, 187) — 58 red, 125 green and 187 blue out of 255, or 22.7% / 49% / 73.3% by channel.

Is #3a7dbb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1915 and perceived brightness is 47%, so black text on it reaches 4.83:1.

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

Black. It scores 4.83:1 against #3a7dbb, versus 4.35:1 for white — AA at any size.

What is the complementary color of #3a7dbb?

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

What colors go well with #3a7dbb?

For interface work: #F4F7FA as the surface, #C1D7EC for borders, #4B749B for secondary text, #C05535 as an accent and #1E4161 for hover and pressed states. For a palette, the analogous pair #3ABBB8 and #3A3CBB stays calm, while #BB783A is the loudest partner.

What is #3a7dbb in CMYK for printing?

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

Is #3a7dbb warm or cool?

Cool — it scores 99 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3A4EBB; nudged cooler, #326CAA.

Work with #3a7dbb in the Color Lab