Skip to content

#3a7cdf

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

RGB
58, 124, 223
HSL
216°, 72%, 55%
CMYK
74, 44, 0, 13
Luminance
0.2064

At a glance

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

Hex
#3a7cdf
Hue
216°
blue
Saturation
72%
vivid
Lightness
55%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2064
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.13:1
Closest name
Steel Blue
ΔE2000 5.5
Where it sits
Hue216° of 360°
Saturation72%
Lightness55%
Temperature
Warm ← → Cool97% 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#3a7cdf
RGBrgb(58, 124, 223)
HSLhsl(216, 72%, 55%)
CMYKcmyk(74%, 44%, 0%, 13%)
LABlab(52.5 12.7 -56.5)
LCHlch(52.5 58.0 282.7)
OKLCHoklch(0.595 0.165 258.5)
Decimal3833055
Display P3color(display-p3 0.227 0.486 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3a7cdf on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#3a7cdf on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4986E3
deuteranopia · #2876DD
tritanopia · #0093A3

Color scale — 50 to 950

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

#F3F6FC
#E7EEF8
#C9DAF3
#9EBFEF
#6E9FE8
#3a7cdf
#2269D3
#1C57B0
#17468C
#153566
#0D2140
Base = 500Lightest = 50 · #F3F6FCDarkest = 950 · #0D2140
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7EEF8;
  --brand-200: #C9DAF3;
  --brand-300: #9EBFEF;
  --brand-400: #6E9FE8;
  --brand-500: #3a7cdf;
  --brand-600: #2269D3;
  --brand-700: #1C57B0;
  --brand-800: #17468C;
  --brand-900: #153566;
  --brand-950: #0D2140;
  --brand: #3a7cdf;
  --brand-ink: #000000;
}

Colors that work with #3a7cdf

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#C0D2ED
Hairlines and dividers
Muted text#4B6B9B
Captions on the surface
Accent#B44E18
Second voice, not a rival
Dark variant#12376E
Hover, pressed, headers
Light variant#E9F0FB
Selected rows, tints
Dark surface#141A24
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 #3a7cdf

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#DF9D3A
Analogous left#3ACFDF
Analogous right#4A3ADF
Split-complement 1#DF4A3A
Split-complement 2#CFDF3A
Triadic 1#DF3A7C
Triadic 2#7CDF3A
Tetradic#DF3ACF

RGB percentages

Red22.7%
Green48.6%
Blue87.5%

CMYK percentages

Cyan74.0%
Magenta44.4%
Yellow0.0%
Key (black)12.5%

Color previews

#3a7cdf text on a black background

contrast 5.13:1

Card sample

#3a7cdf text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 124, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 124, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3a7cdf;
background: linear-gradient(135deg, #3a7cdf, #663ADF);

Monochromatic scale

Palettes built from #3a7cdf

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.

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

#3a7cdf, answered

What color is #3a7cdf?

#3a7cdf is a balanced vivid blue, closest to Steel Blue (ΔE2000 5.5). It sits at 216° on the hue wheel with 72% saturation and 55% lightness, which reads as cool.

What is the RGB value of #3a7cdf?

rgb(58, 124, 223) — 58 red, 124 green and 223 blue out of 255, or 22.7% / 48.6% / 87.5% by channel.

Is #3a7cdf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2064 and perceived brightness is 49%, so black text on it reaches 5.13:1.

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

Black. It scores 5.13:1 against #3a7cdf, versus 4.09:1 for white — AA at any size.

What is the complementary color of #3a7cdf?

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

What colors go well with #3a7cdf?

For interface work: #F4F7FA as the surface, #C0D2ED for borders, #4B6B9B for secondary text, #B44E18 as an accent and #12376E for hover and pressed states. For a palette, the analogous pair #3ACFDF and #4A3ADF stays calm, while #DF9D3A is the loudest partner.

What is #3a7cdf in CMYK for printing?

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

Is #3a7cdf warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3A3FDF; nudged cooler, #2174DE.

Work with #3a7cdf in the Color Lab