Skip to content

#2b7ae8

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

RGB
43, 122, 232
HSL
215°, 80%, 54%
CMYK
82, 47, 0, 9
Luminance
0.2026

At a glance

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

Hex
#2b7ae8
Hue
215°
blue
Saturation
80%
electric
Lightness
54%
balanced
Brightness
91%
HSV value
Perceived
49%
weighted brightness
Luminance
0.2026
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.05:1
Closest name
Steel Blue
ΔE2000 6
Where it sits
Hue215° of 360°
Saturation80%
Lightness54%
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#2b7ae8
RGBrgb(43, 122, 232)
HSLhsl(215, 80%, 54%)
CMYKcmyk(82%, 47%, 0%, 9%)
LABlab(52.1 15.7 -62.3)
LCHlch(52.1 64.3 284.2)
OKLCHoklch(0.592 0.183 257.9)
Decimal2849512
Display P3color(display-p3 0.169 0.478 0.910)

Copy-ready code

/* CSS */
color: #2b7ae8;
background-color: #2b7ae8;
/* Tailwind (arbitrary) */
class="text-[#2b7ae8] bg-[#2b7ae8]"
/* SCSS */
$brand: #2b7ae8;
/* SwiftUI */
Color(red: 0.169, green: 0.478, blue: 0.910)
/* Android */
Color.parseColor("#2b7ae8")
/* Flutter */
Color(0xFF2B7AE8)
/* Python / OpenCV (BGR) */
(232, 122, 43)

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

Accessibility — WCAG contrast

Aa
#2b7ae8 on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#2b7ae8 on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B85EC
deuteranopia · #0074E6
tritanopia · #0095A6

Color scale — 50 to 950

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

#F3F7FC
#E6EEF9
#C6DAF5
#9AC0F4
#67A0EF
#2b7ae8
#186ADD
#1459B8
#104793
#10366A
#0A2243
Base = 500Lightest = 50 · #F3F7FCDarkest = 950 · #0A2243
:root {
  --brand-50: #F3F7FC;
  --brand-100: #E6EEF9;
  --brand-200: #C6DAF5;
  --brand-300: #9AC0F4;
  --brand-400: #67A0EF;
  --brand-500: #2b7ae8;
  --brand-600: #186ADD;
  --brand-700: #1459B8;
  --brand-800: #104793;
  --brand-900: #10366A;
  --brand-950: #0A2243;
  --brand: #2b7ae8;
  --brand-ink: #000000;
}

Colors that work with #2b7ae8

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#C0D3ED
Hairlines and dividers
Muted text#4B6C9B
Captions on the surface
Accent#BC4910
Second voice, not a rival
Dark variant#0C3773
Hover, pressed, headers
Light variant#E8F1FD
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 #2b7ae8

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#E8992B
Analogous left#2BD9E8
Analogous right#3A2BE8
Split-complement 1#E83A2B
Split-complement 2#D9E82B
Triadic 1#E82B7A
Triadic 2#7AE82B
Tetradic#E82BD9

RGB percentages

Red16.9%
Green47.8%
Blue91.0%

CMYK percentages

Cyan81.5%
Magenta47.4%
Yellow0.0%
Key (black)9.0%

Color previews

#2b7ae8 text on a black background

contrast 5.05:1

Card sample

#2b7ae8 text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 122, 232, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 122, 232, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b7ae8;
background: linear-gradient(135deg, #2b7ae8, #5A2BE8);

Monochromatic scale

Palettes built from #2b7ae8

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.

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

#2b7ae8, answered

What color is #2b7ae8?

#2b7ae8 is a balanced electric blue, closest to Steel Blue (ΔE2000 6). It sits at 215° on the hue wheel with 80% saturation and 54% lightness, which reads as cool.

What is the RGB value of #2b7ae8?

rgb(43, 122, 232) — 43 red, 122 green and 232 blue out of 255, or 16.9% / 47.8% / 91% by channel.

Is #2b7ae8 a light or a dark color?

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

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

Black. It scores 5.05:1 against #2b7ae8, versus 4.16:1 for white — AA at any size.

What is the complementary color of #2b7ae8?

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

What colors go well with #2b7ae8?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6C9B for secondary text, #BC4910 as an accent and #0C3773 for hover and pressed states. For a palette, the analogous pair #2BD9E8 and #3A2BE8 stays calm, while #E8992B is the loudest partner.

What is #2b7ae8 in CMYK for printing?

cmyk(82%, 47%, 0%, 9%). 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 #2b7ae8 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 #2B35E8; nudged cooler, #1671E3.

Work with #2b7ae8 in the Color Lab