Skip to content

#2f32db

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

RGB
47, 50, 219
HSL
239°, 71%, 52%
CMYK
79, 77, 0, 14
Luminance
0.0800

At a glance

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

Hex
#2f32db
Hue
239°
blue
Saturation
71%
vivid
Lightness
52%
balanced
Brightness
86%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0800
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.08:1
Closest name
Blue
ΔE2000 5.5
Where it sits
Hue239° of 360°
Saturation71%
Lightness52%
Temperature
Warm ← → Cool84% 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#2f32db
RGBrgb(47, 50, 219)
HSLhsl(239, 71%, 52%)
CMYKcmyk(79%, 77%, 0%, 14%)
LABlab(34.0 55.3 -84.6)
LCHlch(34.0 101.1 303.2)
OKLCHoklch(0.455 0.245 270.5)
Decimal3093211
Display P3color(display-p3 0.184 0.196 0.859)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2f32db on white: 8.08:1
AA ✓ pass · AA-large · AAA
Aa
#2f32db on black: 2.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058E0
deuteranopia · #0047D8
tritanopia · #006686

Color scale — 50 to 950

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

#F3F3FC
#E7E8F8
#C9CAF2
#9FA1EE
#7072E6
#2f32db
#2427D1
#1E20AE
#181A8B
#161765
#0D0E3F
Base = 500Lightest = 50 · #F3F3FCDarkest = 950 · #0D0E3F
:root {
  --brand-50: #F3F3FC;
  --brand-100: #E7E8F8;
  --brand-200: #C9CAF2;
  --brand-300: #9FA1EE;
  --brand-400: #7072E6;
  --brand-500: #2f32db;
  --brand-600: #2427D1;
  --brand-700: #1E20AE;
  --brand-800: #181A8B;
  --brand-900: #161765;
  --brand-950: #0D0E3F;
  --brand: #2f32db;
  --brand-ink: #ffffff;
}

Colors that work with #2f32db

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#F4F4FA
Tinted page background
Border#C0C1ED
Hairlines and dividers
Muted text#4B4C9B
Captions on the surface
Accent#B2891A
Second voice, not a rival
Dark variant#13146D
Hover, pressed, headers
Light variant#E9EAFB
Selected rows, tints
Dark surface#141424
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 #2f32db

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
  • Text on black or near-black surfaces
  • 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#DBD82F
Analogous left#2F88DB
Analogous right#822FDB
Split-complement 1#DB822F
Split-complement 2#88DB2F
Triadic 1#DB2F32
Triadic 2#32DB2F
Tetradic#DB2F88

RGB percentages

Red18.4%
Green19.6%
Blue85.9%

CMYK percentages

Cyan78.5%
Magenta77.2%
Yellow0.0%
Key (black)14.1%

Color previews

#2f32db text on a black background

contrast 2.60:1

Card sample

#2f32db text on a white background

contrast 8.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 50, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 50, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f32db;
background: linear-gradient(135deg, #2f32db, #9F2FDB);

Monochromatic scale

Palettes built from #2f32db

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.

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

#2f32db, answered

What color is #2f32db?

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

What is the RGB value of #2f32db?

rgb(47, 50, 219) — 47 red, 50 green and 219 blue out of 255, or 18.4% / 19.6% / 85.9% by channel.

Is #2f32db a light or a dark color?

It is a dark color. Relative luminance is 0.0800 and perceived brightness is 34%, so white text on it reaches 8.08:1.

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

White. It scores 8.08:1 against #2f32db, versus 2.60:1 for black — AAA at any size.

What is the complementary color of #2f32db?

#DBD82F sits directly opposite on the wheel. Softer options are the split-complements #DB822F and #88DB2F, which give the same contrast with far less vibration.

What colors go well with #2f32db?

For interface work: #F4F4FA as the surface, #C0C1ED for borders, #4B4C9B for secondary text, #B2891A as an accent and #13146D for hover and pressed states. For a palette, the analogous pair #2F88DB and #822FDB stays calm, while #DBD82F is the loudest partner.

What is #2f32db in CMYK for printing?

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

Is #2f32db warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6B2FDB; nudged cooler, #2D5ADD.

Work with #2f32db in the Color Lab