Skip to content

#1b7fdf

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

RGB
27, 127, 223
HSL
209°, 78%, 49%
CMYK
88, 43, 0, 13
Luminance
0.2074

At a glance

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

Hex
#1b7fdf
Hue
209°
blue
Saturation
78%
electric
Lightness
49%
balanced
Brightness
87%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2074
WCAG relative
Temperature
Cool
100/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.15:1
Closest name
Steel Blue
ΔE2000 4.5
Where it sits
Hue209° of 360°
Saturation78%
Lightness49%
Temperature
Warm ← → Cool100% 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#1b7fdf
RGBrgb(27, 127, 223)
HSLhsl(209, 78%, 49%)
CMYKcmyk(88%, 43%, 0%, 13%)
LABlab(52.7 8.0 -56.4)
LCHlch(52.7 57.0 278.1)
OKLCHoklch(0.594 0.170 252.8)
Decimal1802207
Display P3color(display-p3 0.106 0.498 0.875)

Copy-ready code

/* CSS */
color: #1b7fdf;
background-color: #1b7fdf;
/* Tailwind (arbitrary) */
class="text-[#1b7fdf] bg-[#1b7fdf]"
/* SCSS */
$brand: #1b7fdf;
/* SwiftUI */
Color(red: 0.106, green: 0.498, blue: 0.875)
/* Android */
Color.parseColor("#1b7fdf")
/* Flutter */
Color(0xFF1B7FDF)
/* Python / OpenCV (BGR) */
(223, 127, 27)

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

Accessibility — WCAG contrast

Aa
#1b7fdf on white: 4.08:1
AA ✗ fail · AA-large · AAA
Aa
#1b7fdf on black: 5.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4D87E3
deuteranopia · #2576DD
tritanopia · #0096A4

Color scale — 50 to 950

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

#F3F7FC
#E6F0F9
#C7DEF5
#9BC8F3
#69ACED
#3791E7
#1b7fdf
#1668B6
#125392
#113E69
#0B2742
Base = 600Lightest = 50 · #F3F7FCDarkest = 950 · #0B2742
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E6F0F9;
  --brand-200: #C7DEF5;
  --brand-300: #9BC8F3;
  --brand-400: #69ACED;
  --brand-500: #3791E7;
  --brand-600: #1b7fdf;
  --brand-700: #1668B6;
  --brand-800: #125392;
  --brand-900: #113E69;
  --brand-950: #0B2742;
  --brand: #1b7fdf;
  --brand-ink: #000000;
}

Colors that work with #1b7fdf

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#C0D7ED
Hairlines and dividers
Muted text#4B749B
Captions on the surface
Accent#E44716
Second voice, not a rival
Dark variant#0E4172
Hover, pressed, headers
Light variant#E8F2FC
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 #1b7fdf

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#DF7B1B
Analogous left#1BDFDD
Analogous right#1B1DDF
Split-complement 1#DF1B1D
Split-complement 2#DFDD1B
Triadic 1#DF1B7F
Triadic 2#7FDF1B
Tetradic#DD1BDF

RGB percentages

Red10.6%
Green49.8%
Blue87.5%

CMYK percentages

Cyan87.9%
Magenta43.0%
Yellow0.0%
Key (black)12.5%

Color previews

#1b7fdf text on a black background

contrast 5.15:1

Card sample

#1b7fdf text on a white background

contrast 4.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1b7fdf

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.

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

#1b7fdf, answered

What color is #1b7fdf?

#1b7fdf is a balanced electric blue, closest to Steel Blue (ΔE2000 4.5). It sits at 209° on the hue wheel with 78% saturation and 49% lightness, which reads as cool.

What is the RGB value of #1b7fdf?

rgb(27, 127, 223) — 27 red, 127 green and 223 blue out of 255, or 10.6% / 49.8% / 87.5% by channel.

Is #1b7fdf a light or a dark color?

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

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

Black. It scores 5.15:1 against #1b7fdf, versus 4.08:1 for white — AA at any size.

What is the complementary color of #1b7fdf?

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

What colors go well with #1b7fdf?

For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B749B for secondary text, #E44716 as an accent and #0E4172 for hover and pressed states. For a palette, the analogous pair #1BDFDD and #1B1DDF stays calm, while #DF7B1B is the loudest partner.

What is #1b7fdf in CMYK for printing?

cmyk(88%, 43%, 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 #1b7fdf warm or cool?

Cool — it scores 100 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1B37DF; nudged cooler, #166FCA.

Work with #1b7fdf in the Color Lab