Skip to content

#2d85eb

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

RGB
45, 133, 235
HSL
212°, 83%, 55%
CMYK
81, 43, 0, 8
Luminance
0.2333

At a glance

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

Hex
#2d85eb
Hue
212°
blue
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2333
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
5.67:1
Closest name
Dodger Blue
ΔE2000 4.1
Where it sits
Hue212° 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#2d85eb
RGBrgb(45, 133, 235)
HSLhsl(212, 83%, 55%)
CMYKcmyk(81%, 43%, 0%, 8%)
LABlab(55.4 10.2 -58.7)
LCHlch(55.4 59.6 279.9)
OKLCHoklch(0.618 0.174 255.0)
Decimal2983403
Display P3color(display-p3 0.176 0.522 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d85eb on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#2d85eb on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #508EEF
deuteranopia · #297DE9
tritanopia · #009DAC

Color scale — 50 to 950

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

#F2F7FC
#E6EFFA
#C6DCF6
#99C4F5
#65A6F0
#2d85eb
#1573E0
#1260BA
#0E4D95
#0F3A6C
#092443
Base = 500Lightest = 50 · #F2F7FCDarkest = 950 · #092443
:root {
  --brand-50: #F2F7FC;
  --brand-100: #E6EFFA;
  --brand-200: #C6DCF6;
  --brand-300: #99C4F5;
  --brand-400: #65A6F0;
  --brand-500: #2d85eb;
  --brand-600: #1573E0;
  --brand-700: #1260BA;
  --brand-800: #0E4D95;
  --brand-900: #0F3A6C;
  --brand-950: #092443;
  --brand: #2d85eb;
  --brand-ink: #000000;
}

Colors that work with #2d85eb

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#F06228
Second voice, not a rival
Dark variant#0B3C74
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 #2d85eb

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#EB932D
Analogous left#2DE4EB
Analogous right#342DEB
Split-complement 1#EB342D
Split-complement 2#E4EB2D
Triadic 1#EB2D85
Triadic 2#85EB2D
Tetradic#EB2DE4

RGB percentages

Red17.6%
Green52.2%
Blue92.2%

CMYK percentages

Cyan80.9%
Magenta43.4%
Yellow0.0%
Key (black)7.8%

Color previews

#2d85eb text on a black background

contrast 5.67:1

Card sample

#2d85eb text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2d85eb

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.

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

#2d85eb, answered

What color is #2d85eb?

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

What is the RGB value of #2d85eb?

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

Is #2d85eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2333 and perceived brightness is 52%, so black text on it reaches 5.67:1.

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

Black. It scores 5.67:1 against #2d85eb, versus 3.71:1 for white — AA at any size.

What is the complementary color of #2d85eb?

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

What colors go well with #2d85eb?

For interface work: #F4F7FA as the surface, #C0D5ED for borders, #4B709B for secondary text, #F06228 as an accent and #0B3C74 for hover and pressed states. For a palette, the analogous pair #2DE4EB and #342DEB stays calm, while #EB932D is the loudest partner.

What is #2d85eb in CMYK for printing?

cmyk(81%, 43%, 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 #2d85eb 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 #2D3FEB; nudged cooler, #1478EB.

Work with #2d85eb in the Color Lab