Skip to content

#034c72

a deep, electric blue · cool · closest name: Dark Slate Blue

RGB
3, 76, 114
HSL
201°, 95%, 23%
CMYK
97, 33, 0, 55
Luminance
0.0640

At a glance

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

Hex
#034c72
Hue
201°
blue
Saturation
95%
electric
Lightness
23%
deep
Brightness
45%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0640
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.21:1
Closest name
Dark Slate Blue
ΔE2000 15.4
Where it sits
Hue201° of 360°
Saturation95%
Lightness23%
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#034c72
RGBrgb(3, 76, 114)
HSLhsl(201, 95%, 23%)
CMYKcmyk(97%, 33%, 0%, 55%)
LABlab(30.4 -4.8 -27.4)
LCHlch(30.4 27.8 260.1)
OKLCHoklch(0.397 0.090 240.2)
Decimal216178
Display P3color(display-p3 0.012 0.298 0.447)

Copy-ready code

/* CSS */
color: #034c72;
background-color: #034c72;
/* Tailwind (arbitrary) */
class="text-[#034c72] bg-[#034c72]"
/* SCSS */
$brand: #034c72;
/* SwiftUI */
Color(red: 0.012, green: 0.298, blue: 0.447)
/* Android */
Color.parseColor("#034c72")
/* Flutter */
Color(0xFF034C72)
/* Python / OpenCV (BGR) */
(114, 76, 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 #034c72 · 9.21:1
Use #ffffffAAA at every size.
Aa
White text · 9.21:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.28:1
AA fail · AA large fail · AAA fail
Reading the other direction: #034c72 as text scores 9.21:1 on white and 2.28:1 on black.

Accessibility — WCAG contrast

Aa
#034c72 on white: 9.21:1
AA ✓ pass · AA-large · AAA
Aa
#034c72 on black: 2.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3A4D74
deuteranopia · #2B4371
tritanopia · #00565A

Color scale — 50 to 950

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

#F1F9FD
#E4F3FB
#C2E7FA
#92D8FC
#5BC4FB
#24B1F9
#069FEF
#0585C7
#046A9F
#034c72
#053148
Base = 900Lightest = 50 · #F1F9FDDarkest = 950 · #053148
:root {
  --brand-50: #F1F9FD;
  --brand-100: #E4F3FB;
  --brand-200: #C2E7FA;
  --brand-300: #92D8FC;
  --brand-400: #5BC4FB;
  --brand-500: #24B1F9;
  --brand-600: #069FEF;
  --brand-700: #0585C7;
  --brand-800: #046A9F;
  --brand-900: #034c72;
  --brand-950: #053148;
  --brand: #034c72;
  --brand-ink: #ffffff;
}

Colors that work with #034c72

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#C0DDED
Hairlines and dividers
Muted text#4B7F9B
Captions on the surface
Accent#740B01
Second voice, not a rival
Dark variant#03537C
Hover, pressed, headers
Light variant#E6F6FE
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 #034c72

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#722903
Analogous left#037260
Analogous right#031572
Split-complement 1#720315
Split-complement 2#726003
Triadic 1#72034C
Triadic 2#4C7203
Tetradic#600372

RGB percentages

Red1.2%
Green29.8%
Blue44.7%

CMYK percentages

Cyan97.4%
Magenta33.3%
Yellow0.0%
Key (black)55.3%

Color previews

#034c72 text on a black background

contrast 2.28:1

Card sample

#034c72 text on a white background

contrast 9.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #034c72;
Background color
Panel with #034c72 background
background-color: #034c72;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 76, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 76, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #034c72;
background: linear-gradient(135deg, #034c72, #040372);

Monochromatic scale

Palettes built from #034c72

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.

#034c72 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.

#034c72, answered

What color is #034c72?

#034c72 is a deep electric blue, closest to Dark Slate Blue (ΔE2000 15.4). It sits at 201° on the hue wheel with 95% saturation and 23% lightness, which reads as cool.

What is the RGB value of #034c72?

rgb(3, 76, 114) — 3 red, 76 green and 114 blue out of 255, or 1.2% / 29.8% / 44.7% by channel.

Is #034c72 a light or a dark color?

It is a dark color. Relative luminance is 0.0640 and perceived brightness is 27%, so white text on it reaches 9.21:1.

Should I use black or white text on #034c72?

White. It scores 9.21:1 against #034c72, versus 2.28:1 for black — AAA at any size.

What is the complementary color of #034c72?

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

What colors go well with #034c72?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #740B01 as an accent and #03537C for hover and pressed states. For a palette, the analogous pair #037260 and #031572 stays calm, while #722903 is the loudest partner.

What is #034c72 in CMYK for printing?

cmyk(97%, 33%, 0%, 55%). 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 #034c72 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 #03726F; nudged cooler, #023F73.

Work with #034c72 in the Color Lab