Skip to content

#2d96eb

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

RGB
45, 150, 235
HSL
207°, 83%, 55%
CMYK
81, 36, 0, 8
Luminance
0.2837

At a glance

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

Hex
#2d96eb
Hue
207°
blue
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2837
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.67:1
Closest name
Dodger Blue
ΔE2000 3.3
Where it sits
Hue207° of 360°
Saturation83%
Lightness55%
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#2d96eb
RGBrgb(45, 150, 235)
HSLhsl(207, 83%, 55%)
CMYKcmyk(81%, 36%, 0%, 8%)
LABlab(60.2 0.1 -51.0)
LCHlch(60.2 51.0 270.1)
OKLCHoklch(0.656 0.157 248.0)
Decimal2987755
Display P3color(display-p3 0.176 0.588 0.922)

Copy-ready code

/* CSS */
color: #2d96eb;
background-color: #2d96eb;
/* Tailwind (arbitrary) */
class="text-[#2d96eb] bg-[#2d96eb]"
/* SCSS */
$brand: #2d96eb;
/* SwiftUI */
Color(red: 0.176, green: 0.588, blue: 0.922)
/* Android */
Color.parseColor("#2d96eb")
/* Flutter */
Color(0xFF2D96EB)
/* Python / OpenCV (BGR) */
(235, 150, 45)

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

Accessibility — WCAG contrast

Aa
#2d96eb on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#2d96eb on black: 6.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6E9AEF
deuteranopia · #5189E9
tritanopia · #00AAB5

Color scale — 50 to 950

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

#F2F8FC
#E6F1FA
#C6E0F6
#99CCF5
#65B2F0
#2d96eb
#1585E0
#126FBA
#0E5995
#0F426C
#092943
Base = 500Lightest = 50 · #F2F8FCDarkest = 950 · #092943
:root {
  --brand-50: #F2F8FC;
  --brand-100: #E6F1FA;
  --brand-200: #C6E0F6;
  --brand-300: #99CCF5;
  --brand-400: #65B2F0;
  --brand-500: #2d96eb;
  --brand-600: #1585E0;
  --brand-700: #126FBA;
  --brand-800: #0E5995;
  --brand-900: #0F426C;
  --brand-950: #092943;
  --brand: #2d96eb;
  --brand-ink: #000000;
}

Colors that work with #2d96eb

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#C0D9ED
Hairlines and dividers
Muted text#4B779B
Captions on the surface
Accent#F05028
Second voice, not a rival
Dark variant#0B4574
Hover, pressed, headers
Light variant#E8F3FD
Selected rows, tints
Dark surface#141D24
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 #2d96eb

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#EB822D
Analogous left#2DEBE1
Analogous right#2D37EB
Split-complement 1#EB2D37
Split-complement 2#EBE12D
Triadic 1#EB2D96
Triadic 2#96EB2D
Tetradic#E12DEB

RGB percentages

Red17.6%
Green58.8%
Blue92.2%

CMYK percentages

Cyan80.9%
Magenta36.2%
Yellow0.0%
Key (black)7.8%

Color previews

#2d96eb text on a black background

contrast 6.67:1

Card sample

#2d96eb text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 150, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 150, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d96eb;
background: linear-gradient(135deg, #2d96eb, #432DEB);

Monochromatic scale

Palettes built from #2d96eb

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.

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

#2d96eb, answered

What color is #2d96eb?

#2d96eb is a balanced electric blue, closest to Dodger Blue (ΔE2000 3.3). It sits at 207° on the hue wheel with 83% saturation and 55% lightness, which reads as cool.

What is the RGB value of #2d96eb?

rgb(45, 150, 235) — 45 red, 150 green and 235 blue out of 255, or 17.6% / 58.8% / 92.2% by channel.

Is #2d96eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2837 and perceived brightness is 56%, so black text on it reaches 6.67:1.

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

Black. It scores 6.67:1 against #2d96eb, versus 3.15:1 for white — AA at any size.

What is the complementary color of #2d96eb?

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

What colors go well with #2d96eb?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B779B for secondary text, #F05028 as an accent and #0B4574 for hover and pressed states. For a palette, the analogous pair #2DEBE1 and #2D37EB stays calm, while #EB822D is the loudest partner.

What is #2d96eb in CMYK for printing?

cmyk(81%, 36%, 0%, 8%). 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 #2d96eb 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 #2D50EB; nudged cooler, #1482EB.

Work with #2d96eb in the Color Lab