Skip to content

#2d89fd

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

RGB
45, 137, 253
HSL
214°, 98%, 58%
CMYK
82, 46, 0, 1
Luminance
0.2554

At a glance

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

Hex
#2d89fd
Hue
214°
blue
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2554
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.11:1
Closest name
Dodger Blue
ΔE2000 2.8
Where it sits
Hue214° of 360°
Saturation98%
Lightness58%
Temperature
Warm ← → Cool98% 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#2d89fd
RGBrgb(45, 137, 253)
HSLhsl(214, 98%, 58%)
CMYKcmyk(82%, 46%, 0%, 1%)
LABlab(57.6 14.5 -65.1)
LCHlch(57.6 66.7 282.5)
OKLCHoklch(0.639 0.193 256.5)
Decimal2984445
Display P3color(display-p3 0.176 0.537 0.992)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d89fd on white: 3.44:1
AA ✗ fail · AA-large · AAA
Aa
#2d89fd on black: 6.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4994FF
deuteranopia · #0382FB
tritanopia · #00A5B7

Color scale — 50 to 950

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

#F1F7FD
#E3EEFC
#C1DAFB
#90C0FE
#58A1FD
#2d89fd
#026CF2
#025ACA
#0248A2
#063774
#042249
Base = 500Lightest = 50 · #F1F7FDDarkest = 950 · #042249
:root {
  --brand-50: #F1F7FD;
  --brand-100: #E3EEFC;
  --brand-200: #C1DAFB;
  --brand-300: #90C0FE;
  --brand-400: #58A1FD;
  --brand-500: #2d89fd;
  --brand-600: #026CF2;
  --brand-700: #025ACA;
  --brand-800: #0248A2;
  --brand-900: #063774;
  --brand-950: #042249;
  --brand: #2d89fd;
  --brand-ink: #000000;
}

Colors that work with #2d89fd

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#C0D4ED
Hairlines and dividers
Muted text#4B6E9B
Captions on the surface
Accent#CC3F00
Second voice, not a rival
Dark variant#01387E
Hover, pressed, headers
Light variant#E6F1FF
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 #2d89fd

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#FDA12D
Analogous left#2DF1FD
Analogous right#392DFD
Split-complement 1#FD392D
Split-complement 2#F1FD2D
Triadic 1#FD2D89
Triadic 2#89FD2D
Tetradic#FD2DF1

RGB percentages

Red17.6%
Green53.7%
Blue99.2%

CMYK percentages

Cyan82.2%
Magenta45.8%
Yellow0.0%
Key (black)0.8%

Color previews

#2d89fd text on a black background

contrast 6.11:1

Card sample

#2d89fd text on a white background

contrast 3.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 137, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 137, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d89fd;
background: linear-gradient(135deg, #2d89fd, #5C2DFD);

Monochromatic scale

Palettes built from #2d89fd

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.

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

#2d89fd, answered

What color is #2d89fd?

#2d89fd is a balanced electric blue, closest to Dodger Blue (ΔE2000 2.8). It sits at 214° on the hue wheel with 98% saturation and 58% lightness, which reads as cool.

What is the RGB value of #2d89fd?

rgb(45, 137, 253) — 45 red, 137 green and 253 blue out of 255, or 17.6% / 53.7% / 99.2% by channel.

Is #2d89fd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2554 and perceived brightness is 54%, so black text on it reaches 6.11:1.

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

Black. It scores 6.11:1 against #2d89fd, versus 3.44:1 for white — AA at any size.

What is the complementary color of #2d89fd?

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

What colors go well with #2d89fd?

For interface work: #F4F7FA as the surface, #C0D4ED for borders, #4B6E9B for secondary text, #CC3F00 as an accent and #01387E for hover and pressed states. For a palette, the analogous pair #2DF1FD and #392DFD stays calm, while #FDA12D is the loudest partner.

What is #2d89fd in CMYK for printing?

cmyk(82%, 46%, 0%, 1%). 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 #2d89fd warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2D3CFD; nudged cooler, #117EFF.

Work with #2d89fd in the Color Lab