Skip to content

#1b7ef1

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

RGB
27, 126, 241
HSL
212°, 88%, 53%
CMYK
89, 48, 0, 6
Luminance
0.2151

At a glance

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

Hex
#1b7ef1
Hue
212°
blue
Saturation
88%
electric
Lightness
53%
balanced
Brightness
95%
HSV value
Perceived
50%
weighted brightness
Luminance
0.2151
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.30:1
Closest name
Steel Blue
ΔE2000 6
Where it sits
Hue212° of 360°
Saturation88%
Lightness53%
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#1b7ef1
RGBrgb(27, 126, 241)
HSLhsl(212, 88%, 53%)
CMYKcmyk(89%, 48%, 0%, 6%)
LABlab(53.5 15.5 -65.1)
LCHlch(53.5 67.0 283.4)
OKLCHoklch(0.604 0.193 256.1)
Decimal1801969
Display P3color(display-p3 0.106 0.494 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1b7ef1 on white: 3.96:1
AA ✗ fail · AA-large · AAA
Aa
#1b7ef1 on black: 5.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #398AF5
deuteranopia · #0077EF
tritanopia · #009AAC

Color scale — 50 to 950

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

#F2F7FD
#E5EFFA
#C4DCF8
#95C3F8
#60A5F5
#1b7ef1
#0E72E7
#0C5FC0
#094C9A
#0B3A6F
#072445
Base = 500Lightest = 50 · #F2F7FDDarkest = 950 · #072445
:root {
  --brand-50: #F2F7FD;
  --brand-100: #E5EFFA;
  --brand-200: #C4DCF8;
  --brand-300: #95C3F8;
  --brand-400: #60A5F5;
  --brand-500: #1b7ef1;
  --brand-600: #0E72E7;
  --brand-700: #0C5FC0;
  --brand-800: #094C9A;
  --brand-900: #0B3A6F;
  --brand-950: #072445;
  --brand: #1b7ef1;
  --brand-ink: #000000;
}

Colors that work with #1b7ef1

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#C0D5ED
Hairlines and dividers
Muted text#4B709B
Captions on the surface
Accent#F65616
Second voice, not a rival
Dark variant#073C78
Hover, pressed, headers
Light variant#E7F1FE
Selected rows, tints
Dark surface#141B24
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 #1b7ef1

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#F18E1B
Analogous left#1BE9F1
Analogous right#231BF1
Split-complement 1#F1231B
Split-complement 2#E9F11B
Triadic 1#F11B7E
Triadic 2#7EF11B
Tetradic#F11BE9

RGB percentages

Red10.6%
Green49.4%
Blue94.5%

CMYK percentages

Cyan88.8%
Magenta47.7%
Yellow0.0%
Key (black)5.5%

Color previews

#1b7ef1 text on a black background

contrast 5.30:1

Card sample

#1b7ef1 text on a white background

contrast 3.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(27, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b7ef1;
background: linear-gradient(135deg, #1b7ef1, #461BF1);

Monochromatic scale

Palettes built from #1b7ef1

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.

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

#1b7ef1, answered

What color is #1b7ef1?

#1b7ef1 is a balanced electric blue, closest to Steel Blue (ΔE2000 6). It sits at 212° on the hue wheel with 88% saturation and 53% lightness, which reads as cool.

What is the RGB value of #1b7ef1?

rgb(27, 126, 241) — 27 red, 126 green and 241 blue out of 255, or 10.6% / 49.4% / 94.5% by channel.

Is #1b7ef1 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2151 and perceived brightness is 50%, so black text on it reaches 5.30:1.

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

Black. It scores 5.30:1 against #1b7ef1, versus 3.96:1 for white — AA at any size.

What is the complementary color of #1b7ef1?

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

What colors go well with #1b7ef1?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B709B for secondary text, #F65616 as an accent and #073C78 for hover and pressed states. For a palette, the analogous pair #1BE9F1 and #231BF1 stays calm, while #F18E1B is the loudest partner.

What is #1b7ef1 in CMYK for printing?

cmyk(89%, 48%, 0%, 6%). 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 #1b7ef1 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 #1B30F1; nudged cooler, #0C72E7.

Work with #1b7ef1 in the Color Lab