Skip to content

#1c7cd2

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

RGB
28, 124, 210
HSL
208°, 77%, 47%
CMYK
87, 41, 0, 18
Luminance
0.1932

At a glance

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

Hex
#1c7cd2
Hue
208°
blue
Saturation
77%
electric
Lightness
47%
balanced
Brightness
82%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1932
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
4.86:1
Closest name
Steel Blue
ΔE2000 4.1
Where it sits
Hue208° of 360°
Saturation77%
Lightness47%
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#1c7cd2
RGBrgb(28, 124, 210)
HSLhsl(208, 77%, 47%)
CMYKcmyk(87%, 41%, 0%, 18%)
LABlab(51.0 5.0 -51.6)
LCHlch(51.0 51.9 275.5)
OKLCHoklch(0.579 0.156 251.1)
Decimal1866962
Display P3color(display-p3 0.110 0.486 0.824)

Copy-ready code

/* CSS */
color: #1c7cd2;
background-color: #1c7cd2;
/* Tailwind (arbitrary) */
class="text-[#1c7cd2] bg-[#1c7cd2]"
/* SCSS */
$brand: #1c7cd2;
/* SwiftUI */
Color(red: 0.110, green: 0.486, blue: 0.824)
/* Android */
Color.parseColor("#1c7cd2")
/* Flutter */
Color(0xFF1C7CD2)
/* Python / OpenCV (BGR) */
(210, 124, 28)

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

Accessibility — WCAG contrast

Aa
#1c7cd2 on white: 4.32:1
AA ✗ fail · AA-large · AAA
Aa
#1c7cd2 on black: 4.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5182D5
deuteranopia · #3172D0
tritanopia · #00919D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #1c7cd2 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
#E7F0F9
#C8DFF4
#9CC9F2
#6AAEEB
#3993E5
#1c7cd2
#186AB4
#135590
#123F68
#0B2841
Base = 600Lightest = 50 · #F3F8FCDarkest = 950 · #0B2841
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E7F0F9;
  --brand-200: #C8DFF4;
  --brand-300: #9CC9F2;
  --brand-400: #6AAEEB;
  --brand-500: #3993E5;
  --brand-600: #1c7cd2;
  --brand-700: #186AB4;
  --brand-800: #135590;
  --brand-900: #123F68;
  --brand-950: #0B2841;
  --brand: #1c7cd2;
  --brand-ink: #000000;
}

Colors that work with #1c7cd2

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#C0D7ED
Hairlines and dividers
Muted text#4B759B
Captions on the surface
Accent#D74217
Second voice, not a rival
Dark variant#0F4271
Hover, pressed, headers
Light variant#E8F3FC
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 #1c7cd2

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#D2721C
Analogous left#1CD2CD
Analogous right#1C21D2
Split-complement 1#D21C21
Split-complement 2#D2CD1C
Triadic 1#D21C7C
Triadic 2#7CD21C
Tetradic#CD1CD2

RGB percentages

Red11.0%
Green48.6%
Blue82.4%

CMYK percentages

Cyan86.7%
Magenta41.0%
Yellow0.0%
Key (black)17.6%

Color previews

#1c7cd2 text on a black background

contrast 4.86:1

Card sample

#1c7cd2 text on a white background

contrast 4.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(28, 124, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(28, 124, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1c7cd2;
background: linear-gradient(135deg, #1c7cd2, #351CD2);

Monochromatic scale

Palettes built from #1c7cd2

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.

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

#1c7cd2, answered

What color is #1c7cd2?

#1c7cd2 is a balanced electric blue, closest to Steel Blue (ΔE2000 4.1). It sits at 208° on the hue wheel with 77% saturation and 47% lightness, which reads as cool.

What is the RGB value of #1c7cd2?

rgb(28, 124, 210) — 28 red, 124 green and 210 blue out of 255, or 11% / 48.6% / 82.4% by channel.

Is #1c7cd2 a light or a dark color?

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

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

Black. It scores 4.86:1 against #1c7cd2, versus 4.32:1 for white — AA at any size.

What is the complementary color of #1c7cd2?

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

What colors go well with #1c7cd2?

For interface work: #F4F8FA as the surface, #C0D7ED for borders, #4B759B for secondary text, #D74217 as an accent and #0F4271 for hover and pressed states. For a palette, the analogous pair #1CD2CD and #1C21D2 stays calm, while #D2721C is the loudest partner.

What is #1c7cd2 in CMYK for printing?

cmyk(87%, 41%, 0%, 18%). 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 #1c7cd2 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 #1C39D2; nudged cooler, #176ABE.

Work with #1c7cd2 in the Color Lab