Skip to content

#1d87df

a balanced, electric blue · cool · closest name: Dodger Blue

RGB
29, 135, 223
HSL
207°, 77%, 49%
CMYK
87, 40, 0, 13
Luminance
0.2292

At a glance

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

Hex
#1d87df
Hue
207°
blue
Saturation
77%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2292
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.58:1
Closest name
Dodger Blue
ΔE2000 4.4
Where it sits
Hue207° of 360°
Saturation77%
Lightness49%
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#1d87df
RGBrgb(29, 135, 223)
HSLhsl(207, 77%, 49%)
CMYKcmyk(87%, 40%, 0%, 13%)
LABlab(55.0 3.3 -52.7)
LCHlch(55.0 52.8 273.6)
OKLCHoklch(0.612 0.161 249.8)
Decimal1935327
Display P3color(display-p3 0.114 0.529 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1d87df on white: 3.76:1
AA ✗ fail · AA-large · AAA
Aa
#1d87df on black: 5.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5B8DE3
deuteranopia · #3C7CDD
tritanopia · #009CA8

Color scale — 50 to 950

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

#F3F8FC
#E7F1F9
#C7E0F4
#9CCBF2
#6AB1EC
#3897E5
#1d87df
#176DB5
#135790
#124169
#0B2941
Base = 600Lightest = 50 · #F3F8FCDarkest = 950 · #0B2941
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E7F1F9;
  --brand-200: #C7E0F4;
  --brand-300: #9CCBF2;
  --brand-400: #6AB1EC;
  --brand-500: #3897E5;
  --brand-600: #1d87df;
  --brand-700: #176DB5;
  --brand-800: #135790;
  --brand-900: #124169;
  --brand-950: #0B2941;
  --brand: #1d87df;
  --brand-ink: #000000;
}

Colors that work with #1d87df

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#C0D8ED
Hairlines and dividers
Muted text#4B769B
Captions on the surface
Accent#E44118
Second voice, not a rival
Dark variant#0F4471
Hover, pressed, headers
Light variant#E8F3FC
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 #1d87df

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#DF751D
Analogous left#1DDFD6
Analogous right#1D26DF
Split-complement 1#DF1D26
Split-complement 2#DFD61D
Triadic 1#DF1D87
Triadic 2#87DF1D
Tetradic#D61DDF

RGB percentages

Red11.4%
Green52.9%
Blue87.5%

CMYK percentages

Cyan87.0%
Magenta39.5%
Yellow0.0%
Key (black)12.5%

Color previews

#1d87df text on a black background

contrast 5.58:1

Card sample

#1d87df text on a white background

contrast 3.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 135, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 135, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d87df;
background: linear-gradient(135deg, #1d87df, #341DDF);

Monochromatic scale

Palettes built from #1d87df

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.

#1d87df 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#1d87df, answered

What color is #1d87df?

#1d87df is a balanced electric blue, closest to Dodger Blue (ΔE2000 4.4). It sits at 207° on the hue wheel with 77% saturation and 49% lightness, which reads as cool.

What is the RGB value of #1d87df?

rgb(29, 135, 223) — 29 red, 135 green and 223 blue out of 255, or 11.4% / 52.9% / 87.5% by channel.

Is #1d87df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2292 and perceived brightness is 51%, so black text on it reaches 5.58:1.

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

Black. It scores 5.58:1 against #1d87df, versus 3.76:1 for white — AA at any size.

What is the complementary color of #1d87df?

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

What colors go well with #1d87df?

For interface work: #F4F8FA as the surface, #C0D8ED for borders, #4B769B for secondary text, #E44118 as an accent and #0F4471 for hover and pressed states. For a palette, the analogous pair #1DDFD6 and #1D26DF stays calm, while #DF751D is the loudest partner.

What is #1d87df in CMYK for printing?

cmyk(87%, 40%, 0%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #1d87df 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 #1D40DF; nudged cooler, #1873CB.

Work with #1d87df in the Color Lab