Skip to content

#032f49

a deep, electric blue · cool · closest name: Midnight Blue

RGB
3, 47, 73
HSL
202°, 92%, 15%
CMYK
96, 36, 0, 71
Luminance
0.0253

At a glance

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

Hex
#032f49
Hue
202°
blue
Saturation
92%
electric
Lightness
15%
deep
Brightness
29%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0253
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
13.94:1
Closest name
Midnight Blue
ΔE2000 11.9
Where it sits
Hue202° of 360°
Saturation92%
Lightness15%
Temperature
Warm ← → Cool97% 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#032f49
RGBrgb(3, 47, 73)
HSLhsl(202, 92%, 15%)
CMYKcmyk(96%, 36%, 0%, 71%)
LABlab(18.1 -3.1 -20.1)
LCHlch(18.1 20.4 261.1)
OKLCHoklch(0.292 0.065 241.1)
Decimal208713
Display P3color(display-p3 0.012 0.184 0.286)

Copy-ready code

/* CSS */
color: #032f49;
background-color: #032f49;
/* Tailwind (arbitrary) */
class="text-[#032f49] bg-[#032f49]"
/* SCSS */
$brand: #032f49;
/* SwiftUI */
Color(red: 0.012, green: 0.184, blue: 0.286)
/* Android */
Color.parseColor("#032f49")
/* Flutter */
Color(0xFF032F49)
/* Python / OpenCV (BGR) */
(73, 47, 3)

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 #032f49 · 13.94:1
Use #ffffffAAA at every size.
Aa
White text · 13.94:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.51:1
AA fail · AA large fail · AAA fail
Reading the other direction: #032f49 as text scores 13.94:1 on white and 1.51:1 on black.

Accessibility — WCAG contrast

Aa
#032f49 on white: 13.94:1
AA ✓ pass · AA-large · AAA
Aa
#032f49 on black: 1.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #23304A
deuteranopia · #192949
tritanopia · #003538

Color scale — 50 to 950

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

#F2F9FD
#E4F3FB
#C3E5F9
#93D4FB
#5DBFF8
#27A9F6
#0A97EB
#087EC4
#06659D
#094B71
#032f49
Base = 950Lightest = 50 · #F2F9FDDarkest = 950 · #032f49
:root {
  --brand-50: #F2F9FD;
  --brand-100: #E4F3FB;
  --brand-200: #C3E5F9;
  --brand-300: #93D4FB;
  --brand-400: #5DBFF8;
  --brand-500: #27A9F6;
  --brand-600: #0A97EB;
  --brand-700: #087EC4;
  --brand-800: #06659D;
  --brand-900: #094B71;
  --brand-950: #032f49;
  --brand: #032f49;
  --brand-ink: #ffffff;
}

Colors that work with #032f49

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#F4F8FA
Tinted page background
Border#C0DCED
Hairlines and dividers
Muted text#4B7D9B
Captions on the surface
Accent#4B0A01
Second voice, not a rival
Dark variant#054F7A
Hover, pressed, headers
Light variant#E7F5FE
Selected rows, tints
Dark surface#141E24
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 #032f49

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#491D03
Analogous left#034940
Analogous right#030C49
Split-complement 1#49030C
Split-complement 2#494003
Triadic 1#49032F
Triadic 2#2F4903
Tetradic#400349

RGB percentages

Red1.2%
Green18.4%
Blue28.6%

CMYK percentages

Cyan95.9%
Magenta35.6%
Yellow0.0%
Key (black)71.4%

Color previews

#032f49 text on a black background

contrast 1.51:1

Card sample

#032f49 text on a white background

contrast 13.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #032f49;
Background color
Panel with #032f49 background
background-color: #032f49;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 47, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 47, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #032f49;
background: linear-gradient(135deg, #032f49, #060349);

Monochromatic scale

Palettes built from #032f49

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.

#032f49 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.

#032f49, answered

What color is #032f49?

#032f49 is a deep electric blue, closest to Midnight Blue (ΔE2000 11.9). It sits at 202° on the hue wheel with 92% saturation and 15% lightness, which reads as cool.

What is the RGB value of #032f49?

rgb(3, 47, 73) — 3 red, 47 green and 73 blue out of 255, or 1.2% / 18.4% / 28.6% by channel.

Is #032f49 a light or a dark color?

It is a dark color. Relative luminance is 0.0253 and perceived brightness is 17%, so white text on it reaches 13.94:1.

Should I use black or white text on #032f49?

White. It scores 13.94:1 against #032f49, versus 1.51:1 for black — AAA at any size.

What is the complementary color of #032f49?

#491D03 sits directly opposite on the wheel. Softer options are the split-complements #49030C and #494003, which give the same contrast with far less vibration.

What colors go well with #032f49?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7D9B for secondary text, #4B0A01 as an accent and #054F7A for hover and pressed states. For a palette, the analogous pair #034940 and #030C49 stays calm, while #491D03 is the loudest partner.

What is #032f49 in CMYK for printing?

cmyk(96%, 36%, 0%, 71%). 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 #032f49 warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #034949; nudged cooler, #02274A.

Work with #032f49 in the Color Lab