Skip to content

#2d97cd

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

RGB
45, 151, 205
HSL
200°, 64%, 49%
CMYK
78, 26, 0, 20
Luminance
0.2710

At a glance

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

Hex
#2d97cd
Hue
200°
blue
Saturation
64%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2710
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.42:1
Closest name
Steel Blue
ΔE2000 8.2
Where it sits
Hue200° of 360°
Saturation64%
Lightness49%
Temperature
Warm ← → Cool96% 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#2d97cd
RGBrgb(45, 151, 205)
HSLhsl(200, 64%, 49%)
CMYKcmyk(78%, 26%, 0%, 20%)
LABlab(59.1 -11.2 -36.1)
LCHlch(59.1 37.8 252.7)
OKLCHoklch(0.642 0.123 236.1)
Decimal2987981
Display P3color(display-p3 0.176 0.592 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2d97cd on white: 3.27:1
AA ✗ fail · AA-large · AAA
Aa
#2d97cd on black: 6.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7D96CF
deuteranopia · #6788CC
tritanopia · #00A5AA

Color scale — 50 to 950

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

#F4F9FB
#E8F2F7
#CBE4F1
#A3D3EB
#75BCE1
#47A6D7
#2d97cd
#257BA7
#1D6286
#194961
#102E3D
Base = 600Lightest = 50 · #F4F9FBDarkest = 950 · #102E3D
:root {
  --brand-50: #F4F9FB;
  --brand-100: #E8F2F7;
  --brand-200: #CBE4F1;
  --brand-300: #A3D3EB;
  --brand-400: #75BCE1;
  --brand-500: #47A6D7;
  --brand-600: #2d97cd;
  --brand-700: #257BA7;
  --brand-800: #1D6286;
  --brand-900: #194961;
  --brand-950: #102E3D;
  --brand: #2d97cd;
  --brand-ink: #000000;
}

Colors that work with #2d97cd

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#C0DDED
Hairlines and dividers
Muted text#4B809B
Captions on the surface
Accent#D23728
Second voice, not a rival
Dark variant#174D69
Hover, pressed, headers
Light variant#EAF5FA
Selected rows, tints
Dark surface#141F24
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 #2d97cd

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#CD632D
Analogous left#2DCDB3
Analogous right#2D47CD
Split-complement 1#CD2D47
Split-complement 2#CDB32D
Triadic 1#CD2D97
Triadic 2#97CD2D
Tetradic#B32DCD

RGB percentages

Red17.6%
Green59.2%
Blue80.4%

CMYK percentages

Cyan78.0%
Magenta26.3%
Yellow0.0%
Key (black)19.6%

Color previews

#2d97cd text on a black background

contrast 6.42:1

Card sample

#2d97cd text on a white background

contrast 3.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 151, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 151, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d97cd;
background: linear-gradient(135deg, #2d97cd, #2E2DCD);

Monochromatic scale

Palettes built from #2d97cd

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.

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

#2d97cd, answered

What color is #2d97cd?

#2d97cd is a balanced vivid blue, closest to Steel Blue (ΔE2000 8.2). It sits at 200° on the hue wheel with 64% saturation and 49% lightness, which reads as cool.

What is the RGB value of #2d97cd?

rgb(45, 151, 205) — 45 red, 151 green and 205 blue out of 255, or 17.6% / 59.2% / 80.4% by channel.

Is #2d97cd a light or a dark color?

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

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

Black. It scores 6.42:1 against #2d97cd, versus 3.27:1 for white — AA at any size.

What is the complementary color of #2d97cd?

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

What colors go well with #2d97cd?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B809B for secondary text, #D23728 as an accent and #174D69 for hover and pressed states. For a palette, the analogous pair #2DCDB3 and #2D47CD stays calm, while #CD632D is the loudest partner.

What is #2d97cd in CMYK for printing?

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

Is #2d97cd warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2DCDC8; nudged cooler, #2A87CF.

Work with #2d97cd in the Color Lab