Skip to content

#52a2eb

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

RGB
82, 162, 235
HSL
209°, 79%, 62%
CMYK
65, 31, 0, 8
Luminance
0.3363

At a glance

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

Hex
#52a2eb
Hue
209°
blue
Saturation
79%
electric
Lightness
62%
balanced
Brightness
92%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3363
WCAG relative
Temperature
Cool
99/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
7.73:1
Closest name
Dodger Blue
ΔE2000 5.8
Where it sits
Hue209° of 360°
Saturation79%
Lightness62%
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#52a2eb
RGBrgb(82, 162, 235)
HSLhsl(209, 79%, 62%)
CMYKcmyk(65%, 31%, 0%, 8%)
LABlab(64.7 -2.1 -43.9)
LCHlch(64.7 44.0 267.3)
OKLCHoklch(0.694 0.134 248.4)
Decimal5415659
Display P3color(display-p3 0.322 0.635 0.922)

Copy-ready code

/* CSS */
color: #52a2eb;
background-color: #52a2eb;
/* Tailwind (arbitrary) */
class="text-[#52a2eb] bg-[#52a2eb]"
/* SCSS */
$brand: #52a2eb;
/* SwiftUI */
Color(red: 0.322, green: 0.635, blue: 0.922)
/* Android */
Color.parseColor("#52a2eb")
/* Flutter */
Color(0xFF52A2EB)
/* Python / OpenCV (BGR) */
(235, 162, 82)

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 #52a2eb · 7.73:1
Use #000000AAA at every size.
Aa
White text · 2.72:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.73:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #52a2eb as text scores 2.72:1 on white and 7.73:1 on black.

Accessibility — WCAG contrast

Aa
#52a2eb on white: 2.72:1
AA ✗ fail · AA-large · AAA
Aa
#52a2eb on black: 7.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82A5EE
deuteranopia · #6D96EA
tritanopia · #00B3BC

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #52a2eb is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F8FC
#E6F0F9
#C7DFF5
#9AC9F3
#52a2eb
#3693E8
#197FDB
#156AB7
#115592
#113F6A
#0A2842
Base = 400Lightest = 50 · #F3F8FCDarkest = 950 · #0A2842
:root {
  --brand-50: #F3F8FC;
  --brand-100: #E6F0F9;
  --brand-200: #C7DFF5;
  --brand-300: #9AC9F3;
  --brand-400: #52a2eb;
  --brand-500: #3693E8;
  --brand-600: #197FDB;
  --brand-700: #156AB7;
  --brand-800: #115592;
  --brand-900: #113F6A;
  --brand-950: #0A2842;
  --brand: #52a2eb;
  --brand-ink: #000000;
}

Colors that work with #52a2eb

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#C0D7ED
Hairlines and dividers
Muted text#4B759B
Captions on the surface
Accent#BB3811
Second voice, not a rival
Dark variant#0D4272
Hover, pressed, headers
Light variant#E8F3FC
Selected rows, tints
Dark surface#141C24
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 #52a2eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#EB9B52
Analogous left#52EBE7
Analogous right#5256EB
Split-complement 1#EB5256
Split-complement 2#EBE752
Triadic 1#EB52A2
Triadic 2#A2EB52
Tetradic#E752EB

RGB percentages

Red32.2%
Green63.5%
Blue92.2%

CMYK percentages

Cyan65.1%
Magenta31.1%
Yellow0.0%
Key (black)7.8%

Color previews

#52a2eb text on a black background

contrast 7.73:1

Card sample

#52a2eb text on a white background

contrast 2.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #52a2eb;
Background color
Panel with #52a2eb background
background-color: #52a2eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(82, 162, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(82, 162, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #52a2eb;
background: linear-gradient(135deg, #52a2eb, #6852EB);

Monochromatic scale

Palettes built from #52a2eb

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.

#52a2eb 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.

#52a2eb, answered

What color is #52a2eb?

#52a2eb is a balanced electric blue, closest to Dodger Blue (ΔE2000 5.8). It sits at 209° on the hue wheel with 79% saturation and 62% lightness, which reads as cool.

What is the RGB value of #52a2eb?

rgb(82, 162, 235) — 82 red, 162 green and 235 blue out of 255, or 32.2% / 63.5% / 92.2% by channel.

Is #52a2eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3363 and perceived brightness is 60%, so black text on it reaches 7.73:1.

Should I use black or white text on #52a2eb?

Black. It scores 7.73:1 against #52a2eb, versus 2.72:1 for white — AAA at any size.

What is the complementary color of #52a2eb?

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

What colors go well with #52a2eb?

For interface work: #F4F7FA as the surface, #C0D7ED for borders, #4B759B for secondary text, #BB3811 as an accent and #0D4272 for hover and pressed states. For a palette, the analogous pair #52EBE7 and #5256EB stays calm, while #EB9B52 is the loudest partner.

What is #52a2eb in CMYK for printing?

cmyk(65%, 31%, 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 #52a2eb 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 #526AEB; nudged cooler, #3991EB.

Work with #52a2eb in the Color Lab