Skip to content

#2d53db

a balanced, vivid blue · cool · closest name: Royal Blue

RGB
45, 83, 219
HSL
227°, 71%, 52%
CMYK
80, 62, 0, 14
Luminance
0.1186

At a glance

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

Hex
#2d53db
Hue
227°
blue
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
39%
weighted brightness
Luminance
0.1186
WCAG relative
Temperature
Cool
91/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
6.23:1
Closest name
Royal Blue
ΔE2000 7.2
Where it sits
Hue227° of 360°
Saturation71%
Lightness52%
Temperature
Warm ← → Cool91% 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#2d53db
RGBrgb(45, 83, 219)
HSLhsl(227, 71%, 52%)
CMYKcmyk(80%, 62%, 0%, 14%)
LABlab(41.0 35.8 -73.0)
LCHlch(41.0 81.3 296.1)
OKLCHoklch(0.505 0.212 266.4)
Decimal2970587
Display P3color(display-p3 0.176 0.325 0.859)

Copy-ready code

/* CSS */
color: #2d53db;
background-color: #2d53db;
/* Tailwind (arbitrary) */
class="text-[#2d53db] bg-[#2d53db]"
/* SCSS */
$brand: #2d53db;
/* SwiftUI */
Color(red: 0.176, green: 0.325, blue: 0.859)
/* Android */
Color.parseColor("#2d53db")
/* Flutter */
Color(0xFF2D53DB)
/* Python / OpenCV (BGR) */
(219, 83, 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#ffffff on #2d53db · 6.23:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.23:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.37:1
AA fail · AA large pass · AAA fail
Reading the other direction: #2d53db as text scores 6.23:1 on white and 3.37:1 on black.

Accessibility — WCAG contrast

Aa
#2d53db on white: 6.23:1
AA ✓ pass · AA-large · AAA
Aa
#2d53db on black: 3.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0069DF
deuteranopia · #0059D8
tritanopia · #00778F

Color scale — 50 to 950

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

#F3F5FC
#E7EBF8
#C9D2F2
#9FB1EF
#6F89E6
#3F62DE
#2d53db
#1E3DAE
#18318B
#152765
#0D183F
Base = 600Lightest = 50 · #F3F5FCDarkest = 950 · #0D183F
:root {
  --brand-50: #F3F5FC;
  --brand-100: #E7EBF8;
  --brand-200: #C9D2F2;
  --brand-300: #9FB1EF;
  --brand-400: #6F89E6;
  --brand-500: #3F62DE;
  --brand-600: #2d53db;
  --brand-700: #1E3DAE;
  --brand-800: #18318B;
  --brand-900: #152765;
  --brand-950: #0D183F;
  --brand: #2d53db;
  --brand-ink: #ffffff;
}

Colors that work with #2d53db

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F6FA
Tinted page background
Border#C0CAED
Hairlines and dividers
Muted text#4B5C9B
Captions on the surface
Accent#B26B1A
Second voice, not a rival
Dark variant#13266D
Hover, pressed, headers
Light variant#E9EDFB
Selected rows, tints
Dark surface#141724
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 #2d53db

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#DBB52D
Analogous left#2DAADB
Analogous right#5E2DDB
Split-complement 1#DB5E2D
Split-complement 2#AADB2D
Triadic 1#DB2D53
Triadic 2#53DB2D
Tetradic#DB2DAA

RGB percentages

Red17.6%
Green32.5%
Blue85.9%

CMYK percentages

Cyan79.5%
Magenta62.1%
Yellow0.0%
Key (black)14.1%

Color previews

#2d53db text on a black background

contrast 3.37:1

Card sample

#2d53db text on a white background

contrast 6.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 83, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 83, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d53db;
background: linear-gradient(135deg, #2d53db, #7B2DDB);

Monochromatic scale

Palettes built from #2d53db

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.

#2d53db 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

Converts to four-color process without much drama. Proof it anyway.

#2d53db, answered

What color is #2d53db?

#2d53db is a balanced vivid blue, closest to Royal Blue (ΔE2000 7.2). It sits at 227° on the hue wheel with 71% saturation and 52% lightness, which reads as cool.

What is the RGB value of #2d53db?

rgb(45, 83, 219) — 45 red, 83 green and 219 blue out of 255, or 17.6% / 32.5% / 85.9% by channel.

Is #2d53db a light or a dark color?

It is a dark color. Relative luminance is 0.1186 and perceived brightness is 39%, so white text on it reaches 6.23:1.

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

White. It scores 6.23:1 against #2d53db, versus 3.37:1 for black — AA at any size.

What is the complementary color of #2d53db?

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

What colors go well with #2d53db?

For interface work: #F4F6FA as the surface, #C0CAED for borders, #4B5C9B for secondary text, #B26B1A as an accent and #13266D for hover and pressed states. For a palette, the analogous pair #2DAADB and #5E2DDB stays calm, while #DBB52D is the loudest partner.

What is #2d53db in CMYK for printing?

cmyk(80%, 62%, 0%, 14%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #2d53db warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #472DDB; nudged cooler, #2B6ADD.

Work with #2d53db in the Color Lab