Skip to content

#1d7eb4

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

RGB
29, 126, 180
HSL
202°, 72%, 41%
CMYK
84, 30, 0, 29
Luminance
0.1848

At a glance

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

Hex
#1d7eb4
Hue
202°
blue
Saturation
72%
vivid
Lightness
41%
dark
Brightness
71%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1848
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
4.70:1
Closest name
Steel Blue
ΔE2000 4
Where it sits
Hue202° of 360°
Saturation72%
Lightness41%
Temperature
Warm ← → Cool96% 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#1d7eb4
RGBrgb(29, 126, 180)
HSLhsl(202, 72%, 41%)
CMYKcmyk(84%, 30%, 0%, 29%)
LABlab(50.1 -7.5 -36.0)
LCHlch(50.1 36.8 258.2)
OKLCHoklch(0.566 0.118 239.5)
Decimal1932980
Display P3color(display-p3 0.114 0.494 0.706)

Copy-ready code

/* CSS */
color: #1d7eb4;
background-color: #1d7eb4;
/* Tailwind (arbitrary) */
class="text-[#1d7eb4] bg-[#1d7eb4]"
/* SCSS */
$brand: #1d7eb4;
/* SwiftUI */
Color(red: 0.114, green: 0.494, blue: 0.706)
/* Android */
Color.parseColor("#1d7eb4")
/* Flutter */
Color(0xFF1D7EB4)
/* Python / OpenCV (BGR) */
(180, 126, 29)

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

Accessibility — WCAG contrast

Aa
#1d7eb4 on white: 4.47:1
AA ✗ fail · AA-large · AAA
Aa
#1d7eb4 on black: 4.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #647FB6
deuteranopia · #5071B3
tritanopia · #008C91

Color scale — 50 to 950

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

#F3F9FC
#E7F2F8
#C9E4F3
#9ED2EF
#6EBCE8
#3EA6E0
#2293D3
#1d7eb4
#17628D
#154966
#0D2D40
Base = 700Lightest = 50 · #F3F9FCDarkest = 950 · #0D2D40
:root {
  --brand-50: #F3F9FC;
  --brand-100: #E7F2F8;
  --brand-200: #C9E4F3;
  --brand-300: #9ED2EF;
  --brand-400: #6EBCE8;
  --brand-500: #3EA6E0;
  --brand-600: #2293D3;
  --brand-700: #1d7eb4;
  --brand-800: #17628D;
  --brand-900: #154966;
  --brand-950: #0D2D40;
  --brand: #1d7eb4;
  --brand-ink: #000000;
}

Colors that work with #1d7eb4

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#C0DDED
Hairlines and dividers
Muted text#4B7E9B
Captions on the surface
Accent#B82A19
Second voice, not a rival
Dark variant#124D6E
Hover, pressed, headers
Light variant#E9F5FB
Selected rows, tints
Dark surface#141E24
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 #1d7eb4

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#B4531D
Analogous left#1DB49F
Analogous right#1D32B4
Split-complement 1#B41D32
Split-complement 2#B49F1D
Triadic 1#B41D7E
Triadic 2#7EB41D
Tetradic#9F1DB4

RGB percentages

Red11.4%
Green49.4%
Blue70.6%

CMYK percentages

Cyan83.9%
Magenta30.0%
Yellow0.0%
Key (black)29.4%

Color previews

#1d7eb4 text on a black background

contrast 4.70:1

Card sample

#1d7eb4 text on a white background

contrast 4.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1d7eb4;
Background color
Panel with #1d7eb4 background
background-color: #1d7eb4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1d7eb4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(29, 126, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 126, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d7eb4;
background: linear-gradient(135deg, #1d7eb4, #211DB4);

Monochromatic scale

Palettes built from #1d7eb4

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.

#1d7eb4 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.

#1d7eb4, answered

What color is #1d7eb4?

#1d7eb4 is a dark vivid blue, closest to Steel Blue (ΔE2000 4). It sits at 202° on the hue wheel with 72% saturation and 41% lightness, which reads as cool.

What is the RGB value of #1d7eb4?

rgb(29, 126, 180) — 29 red, 126 green and 180 blue out of 255, or 11.4% / 49.4% / 70.6% by channel.

Is #1d7eb4 a light or a dark color?

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

Should I use black or white text on #1d7eb4?

Black. It scores 4.70:1 against #1d7eb4, versus 4.47:1 for white — AA at any size.

What is the complementary color of #1d7eb4?

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

What colors go well with #1d7eb4?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7E9B for secondary text, #B82A19 as an accent and #124D6E for hover and pressed states. For a palette, the analogous pair #1DB49F and #1D32B4 stays calm, while #B4531D is the loudest partner.

What is #1d7eb4 in CMYK for printing?

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

Is #1d7eb4 warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1DB4B3; nudged cooler, #1862A0.

Work with #1d7eb4 in the Color Lab