Skip to content

#2f99eb

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

RGB
47, 153, 235
HSL
206°, 83%, 55%
CMYK
80, 35, 0, 8
Luminance
0.2938

At a glance

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

Hex
#2f99eb
Hue
206°
blue
Saturation
83%
electric
Lightness
55%
balanced
Brightness
92%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2938
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.88:1
Closest name
Dodger Blue
ΔE2000 4.2
Where it sits
Hue206° of 360°
Saturation83%
Lightness55%
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#2f99eb
RGBrgb(47, 153, 235)
HSLhsl(206, 83%, 55%)
CMYKcmyk(80%, 35%, 0%, 8%)
LABlab(61.1 -1.5 -49.6)
LCHlch(61.1 49.6 268.3)
OKLCHoklch(0.663 0.154 246.8)
Decimal3119595
Display P3color(display-p3 0.184 0.600 0.922)

Copy-ready code

/* CSS */
color: #2f99eb;
background-color: #2f99eb;
/* Tailwind (arbitrary) */
class="text-[#2f99eb] bg-[#2f99eb]"
/* SCSS */
$brand: #2f99eb;
/* SwiftUI */
Color(red: 0.184, green: 0.600, blue: 0.922)
/* Android */
Color.parseColor("#2f99eb")
/* Flutter */
Color(0xFF2F99EB)
/* Python / OpenCV (BGR) */
(235, 153, 47)

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

Accessibility — WCAG contrast

Aa
#2f99eb on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#2f99eb on black: 6.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #729DEE
deuteranopia · #578CE9
tritanopia · #00ADB7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2f99eb 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
#99CDF5
#65B4F0
#2f99eb
#1587DF
#1271BA
#0E5A95
#0F436C
#092A43
Base = 500Lightest = 50 · #F2F8FCDarkest = 950 · #092A43
:root {
  --brand-50: #F2F8FC;
  --brand-100: #E6F1FA;
  --brand-200: #C6E1F6;
  --brand-300: #99CDF5;
  --brand-400: #65B4F0;
  --brand-500: #2f99eb;
  --brand-600: #1587DF;
  --brand-700: #1271BA;
  --brand-800: #0E5A95;
  --brand-900: #0F436C;
  --brand-950: #092A43;
  --brand: #2f99eb;
  --brand-ink: #000000;
}

Colors that work with #2f99eb

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#F04F2A
Second voice, not a rival
Dark variant#0B4674
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 #2f99eb

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#EB812F
Analogous left#2FEBDF
Analogous right#2F3BEB
Split-complement 1#EB2F3B
Split-complement 2#EBDF2F
Triadic 1#EB2F99
Triadic 2#99EB2F
Tetradic#DF2FEB

RGB percentages

Red18.4%
Green60.0%
Blue92.2%

CMYK percentages

Cyan80.0%
Magenta34.9%
Yellow0.0%
Key (black)7.8%

Color previews

#2f99eb text on a black background

contrast 6.88:1

Card sample

#2f99eb text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 153, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 153, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f99eb;
background: linear-gradient(135deg, #2f99eb, #422FEB);

Monochromatic scale

Palettes built from #2f99eb

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.

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

#2f99eb, answered

What color is #2f99eb?

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

What is the RGB value of #2f99eb?

rgb(47, 153, 235) — 47 red, 153 green and 235 blue out of 255, or 18.4% / 60% / 92.2% by channel.

Is #2f99eb a light or a dark color?

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

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

Black. It scores 6.88:1 against #2f99eb, versus 3.05:1 for white — AA at any size.

What is the complementary color of #2f99eb?

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

What colors go well with #2f99eb?

For interface work: #F4F8FA as the surface, #C0D9ED for borders, #4B789B for secondary text, #F04F2A as an accent and #0B4674 for hover and pressed states. For a palette, the analogous pair #2FEBDF and #2F3BEB stays calm, while #EB812F is the loudest partner.

What is #2f99eb in CMYK for printing?

cmyk(80%, 35%, 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 #2f99eb 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 #2F54EB; nudged cooler, #1584EB.

Work with #2f99eb in the Color Lab