Skip to content

#2b7df9

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

RGB
43, 125, 249
HSL
216°, 95%, 57%
CMYK
83, 50, 0, 2
Luminance
0.2202

At a glance

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

Hex
#2b7df9
Hue
216°
blue
Saturation
95%
electric
Lightness
57%
balanced
Brightness
98%
HSV value
Perceived
51%
weighted brightness
Luminance
0.2202
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.40:1
Closest name
Dodger Blue
ΔE2000 6.9
Where it sits
Hue216° of 360°
Saturation95%
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#2b7df9
RGBrgb(43, 125, 249)
HSLhsl(216, 95%, 57%)
CMYKcmyk(83%, 50%, 0%, 2%)
LABlab(54.0 20.2 -68.7)
LCHlch(54.0 71.6 286.4)
OKLCHoklch(0.610 0.201 259.1)
Decimal2850297
Display P3color(display-p3 0.169 0.490 0.976)

Copy-ready code

/* CSS */
color: #2b7df9;
background-color: #2b7df9;
/* Tailwind (arbitrary) */
class="text-[#2b7df9] bg-[#2b7df9]"
/* SCSS */
$brand: #2b7df9;
/* SwiftUI */
Color(red: 0.169, green: 0.490, blue: 0.976)
/* Android */
Color.parseColor("#2b7df9")
/* Flutter */
Color(0xFF2B7DF9)
/* Python / OpenCV (BGR) */
(249, 125, 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 #2b7df9 · 5.40:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.89:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.40:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #2b7df9 as text scores 3.89:1 on white and 5.40:1 on black.

Accessibility — WCAG contrast

Aa
#2b7df9 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#2b7df9 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2C8BFD
deuteranopia · #0079F7
tritanopia · #009BAF

Color scale — 50 to 950

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

#F1F6FD
#E4EDFB
#C2D8FA
#92BCFC
#5B9BFA
#2b7df9
#0763EE
#0652C6
#04429F
#083272
#051F48
Base = 500Lightest = 50 · #F1F6FDDarkest = 950 · #051F48
:root {
  --brand-50: #F1F6FD;
  --brand-100: #E4EDFB;
  --brand-200: #C2D8FA;
  --brand-300: #92BCFC;
  --brand-400: #5B9BFA;
  --brand-500: #2b7df9;
  --brand-600: #0763EE;
  --brand-700: #0652C6;
  --brand-800: #04429F;
  --brand-900: #083272;
  --brand-950: #051F48;
  --brand: #2b7df9;
  --brand-ink: #000000;
}

Colors that work with #2b7df9

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#CA4802
Second voice, not a rival
Dark variant#04347C
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 #2b7df9

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#F9A72B
Analogous left#2BE4F9
Analogous right#402BF9
Split-complement 1#F9402B
Split-complement 2#E4F92B
Triadic 1#F92B7D
Triadic 2#7DF92B
Tetradic#F92BE4

RGB percentages

Red16.9%
Green49.0%
Blue97.6%

CMYK percentages

Cyan82.7%
Magenta49.8%
Yellow0.0%
Key (black)2.4%

Color previews

#2b7df9 text on a black background

contrast 5.40:1

Card sample

#2b7df9 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 125, 249, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 125, 249, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2b7df9;
background: linear-gradient(135deg, #2b7df9, #622BF9);

Monochromatic scale

Palettes built from #2b7df9

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.

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

#2b7df9, answered

What color is #2b7df9?

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

What is the RGB value of #2b7df9?

rgb(43, 125, 249) — 43 red, 125 green and 249 blue out of 255, or 16.9% / 49% / 97.6% by channel.

Is #2b7df9 a light or a dark color?

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

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

Black. It scores 5.40:1 against #2b7df9, versus 3.89:1 for white — AA at any size.

What is the complementary color of #2b7df9?

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

What colors go well with #2b7df9?

For interface work: #F4F7FA as the surface, #C0D2ED for borders, #4B6B9B for secondary text, #CA4802 as an accent and #04347C for hover and pressed states. For a palette, the analogous pair #2BE4F9 and #402BF9 stays calm, while #F9A72B is the loudest partner.

What is #2b7df9 in CMYK for printing?

cmyk(83%, 50%, 0%, 2%). 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 #2b7df9 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 #2B32F9; nudged cooler, #1076FB.

Work with #2b7df9 in the Color Lab