Skip to content

#2c7df7

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

RGB
44, 125, 247
HSL
216°, 93%, 57%
CMYK
82, 49, 0, 3
Luminance
0.2192

At a glance

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

Hex
#2c7df7
Hue
216°
blue
Saturation
93%
electric
Lightness
57%
balanced
Brightness
97%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2192
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.38:1
Closest name
Steel Blue
ΔE2000 6.9
Where it sits
Hue216° of 360°
Saturation93%
Lightness57%
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#2c7df7
RGBrgb(44, 125, 247)
HSLhsl(216, 93%, 57%)
CMYKcmyk(82%, 49%, 0%, 3%)
LABlab(53.9 19.6 -67.7)
LCHlch(53.9 70.5 286.1)
OKLCHoklch(0.609 0.199 259.0)
Decimal2915831
Display P3color(display-p3 0.173 0.490 0.969)

Copy-ready code

/* CSS */
color: #2c7df7;
background-color: #2c7df7;
/* Tailwind (arbitrary) */
class="text-[#2c7df7] bg-[#2c7df7]"
/* SCSS */
$brand: #2c7df7;
/* SwiftUI */
Color(red: 0.173, green: 0.490, blue: 0.969)
/* Android */
Color.parseColor("#2c7df7")
/* Flutter */
Color(0xFF2C7DF7)
/* Python / OpenCV (BGR) */
(247, 125, 44)

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

Accessibility — WCAG contrast

Aa
#2c7df7 on white: 3.90:1
AA ✗ fail · AA-large · AAA
Aa
#2c7df7 on black: 5.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #308BFB
deuteranopia · #0078F5
tritanopia · #009BAE

Color scale — 50 to 950

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

#F2F6FD
#E4EDFB
#C2D8F9
#93BCFB
#5D9BF9
#2c7df7
#0963EC
#0753C5
#06429D
#093371
#062047
Base = 500Lightest = 50 · #F2F6FDDarkest = 950 · #062047
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E4EDFB;
  --brand-200: #C2D8F9;
  --brand-300: #93BCFB;
  --brand-400: #5D9BF9;
  --brand-500: #2c7df7;
  --brand-600: #0963EC;
  --brand-700: #0753C5;
  --brand-800: #06429D;
  --brand-900: #093371;
  --brand-950: #062047;
  --brand: #2c7df7;
  --brand-ink: #000000;
}

Colors that work with #2c7df7

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#C84904
Second voice, not a rival
Dark variant#05347B
Hover, pressed, headers
Light variant#E6F0FE
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 #2c7df7

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#F7A62C
Analogous left#2CE2F7
Analogous right#412CF7
Split-complement 1#F7412C
Split-complement 2#E2F72C
Triadic 1#F72C7D
Triadic 2#7DF72C
Tetradic#F72CE2

RGB percentages

Red17.3%
Green49.0%
Blue96.9%

CMYK percentages

Cyan82.2%
Magenta49.4%
Yellow0.0%
Key (black)3.1%

Color previews

#2c7df7 text on a black background

contrast 5.38:1

Card sample

#2c7df7 text on a white background

contrast 3.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2c7df7;
Background color
Panel with #2c7df7 background
background-color: #2c7df7;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 125, 247, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 125, 247, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2c7df7;
background: linear-gradient(135deg, #2c7df7, #632CF7);

Monochromatic scale

Palettes built from #2c7df7

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.

#2c7df7 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.

#2c7df7, answered

What color is #2c7df7?

#2c7df7 is a balanced electric blue, closest to Steel Blue (ΔE2000 6.9). It sits at 216° on the hue wheel with 93% saturation and 57% lightness, which reads as cool.

What is the RGB value of #2c7df7?

rgb(44, 125, 247) — 44 red, 125 green and 247 blue out of 255, or 17.3% / 49% / 96.9% by channel.

Is #2c7df7 a light or a dark color?

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

Should I use black or white text on #2c7df7?

Black. It scores 5.38:1 against #2c7df7, versus 3.90:1 for white — AA at any size.

What is the complementary color of #2c7df7?

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

What colors go well with #2c7df7?

For interface work: #F4F7FA as the surface, #C0D2ED for borders, #4B6B9B for secondary text, #C84904 as an accent and #05347B for hover and pressed states. For a palette, the analogous pair #2CE2F7 and #412CF7 stays calm, while #F7A62C is the loudest partner.

What is #2c7df7 in CMYK for printing?

cmyk(82%, 49%, 0%, 3%). 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 #2c7df7 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 #2C33F7; nudged cooler, #1176F9.

Work with #2c7df7 in the Color Lab