Skip to content

#2997eb

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

RGB
41, 151, 235
HSL
206°, 83%, 54%
CMYK
83, 36, 0, 8
Luminance
0.2860

At a glance

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

Hex
#2997eb
Hue
206°
blue
Saturation
83%
electric
Lightness
54%
balanced
Brightness
92%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2860
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.72:1
Closest name
Dodger Blue
ΔE2000 3.9
Where it sits
Hue206° of 360°
Saturation83%
Lightness54%
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#2997eb
RGBrgb(41, 151, 235)
HSLhsl(206, 83%, 54%)
CMYKcmyk(83%, 36%, 0%, 8%)
LABlab(60.4 -0.9 -50.7)
LCHlch(60.4 50.7 269.0)
OKLCHoklch(0.657 0.157 247.1)
Decimal2725867
Display P3color(display-p3 0.161 0.592 0.922)

Copy-ready code

/* CSS */
color: #2997eb;
background-color: #2997eb;
/* Tailwind (arbitrary) */
class="text-[#2997eb] bg-[#2997eb]"
/* SCSS */
$brand: #2997eb;
/* SwiftUI */
Color(red: 0.161, green: 0.592, blue: 0.922)
/* Android */
Color.parseColor("#2997eb")
/* Flutter */
Color(0xFF2997EB)
/* Python / OpenCV (BGR) */
(235, 151, 41)

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 #2997eb · 6.72:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.12:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.72:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #2997eb as text scores 3.12:1 on white and 6.72:1 on black.

Accessibility — WCAG contrast

Aa
#2997eb on white: 3.12:1
AA ✗ fail · AA-large · AAA
Aa
#2997eb on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6F9BEE
deuteranopia · #528AE9
tritanopia · #00ABB6

Color scale — 50 to 950

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

#F2F8FC
#E6F1FA
#C6E1F6
#98CDF5
#65B4F1
#2997eb
#1588E0
#1171BB
#0E5B95
#0F436C
#092A43
Base = 500Lightest = 50 · #F2F8FCDarkest = 950 · #092A43
:root {
  --brand-50: #F2F8FC;
  --brand-100: #E6F1FA;
  --brand-200: #C6E1F6;
  --brand-300: #98CDF5;
  --brand-400: #65B4F1;
  --brand-500: #2997eb;
  --brand-600: #1588E0;
  --brand-700: #1171BB;
  --brand-800: #0E5B95;
  --brand-900: #0F436C;
  --brand-950: #092A43;
  --brand: #2997eb;
  --brand-ink: #000000;
}

Colors that work with #2997eb

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#C0D9ED
Hairlines and dividers
Muted text#4B789B
Captions on the surface
Accent#F04A24
Second voice, not a rival
Dark variant#0B4775
Hover, pressed, headers
Light variant#E8F4FD
Selected rows, tints
Dark surface#141D24
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 #2997eb

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#EB7D29
Analogous left#29EBDE
Analogous right#2936EB
Split-complement 1#EB2936
Split-complement 2#EBDE29
Triadic 1#EB2997
Triadic 2#97EB29
Tetradic#DE29EB

RGB percentages

Red16.1%
Green59.2%
Blue92.2%

CMYK percentages

Cyan82.6%
Magenta35.7%
Yellow0.0%
Key (black)7.8%

Color previews

#2997eb text on a black background

contrast 6.72:1

Card sample

#2997eb text on a white background

contrast 3.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2997eb;
Background color
Panel with #2997eb background
background-color: #2997eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(41, 151, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 151, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2997eb;
background: linear-gradient(135deg, #2997eb, #3C29EB);

Monochromatic scale

Palettes built from #2997eb

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.

#2997eb 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.

#2997eb, answered

What color is #2997eb?

#2997eb is a balanced electric blue, closest to Dodger Blue (ΔE2000 3.9). It sits at 206° on the hue wheel with 83% saturation and 54% lightness, which reads as cool.

What is the RGB value of #2997eb?

rgb(41, 151, 235) — 41 red, 151 green and 235 blue out of 255, or 16.1% / 59.2% / 92.2% by channel.

Is #2997eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.2860 and perceived brightness is 56%, so black text on it reaches 6.72:1.

Should I use black or white text on #2997eb?

Black. It scores 6.72:1 against #2997eb, versus 3.12:1 for white — AA at any size.

What is the complementary color of #2997eb?

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

What colors go well with #2997eb?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #F04A24 as an accent and #0B4775 for hover and pressed states. For a palette, the analogous pair #29EBDE and #2936EB stays calm, while #EB7D29 is the loudest partner.

What is #2997eb in CMYK for printing?

cmyk(83%, 36%, 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 #2997eb 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 #2950EB; nudged cooler, #1381E8.

Work with #2997eb in the Color Lab