Skip to content

#034c73

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

RGB
3, 76, 115
HSL
201°, 95%, 23%
CMYK
97, 34, 0, 55
Luminance
0.0643

At a glance

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

Hex
#034c73
Hue
201°
blue
Saturation
95%
electric
Lightness
23%
deep
Brightness
45%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0643
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.19:1
Closest name
Dark Slate Blue
ΔE2000 15.3
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#034c73
RGBrgb(3, 76, 115)
HSLhsl(201, 95%, 23%)
CMYKcmyk(97%, 34%, 0%, 55%)
LABlab(30.5 -4.4 -27.9)
LCHlch(30.5 28.3 261.1)
OKLCHoklch(0.398 0.091 240.8)
Decimal216179
Display P3color(display-p3 0.012 0.298 0.451)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034c73 on white: 9.19:1
AA ✓ pass · AA-large · AAA
Aa
#034c73 on black: 2.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #394D75
deuteranopia · #2A4472
tritanopia · #00565A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #034c73 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
#C2E6FA
#92D7FC
#5BC3FB
#24AFF9
#069EEF
#0583C7
#04699F
#034c73
#053048
Base = 900Lightest = 50 · #F1F9FDDarkest = 950 · #053048
:root {
  --brand-50: #F1F9FD;
  --brand-100: #E4F3FB;
  --brand-200: #C2E6FA;
  --brand-300: #92D7FC;
  --brand-400: #5BC3FB;
  --brand-500: #24AFF9;
  --brand-600: #069EEF;
  --brand-700: #0583C7;
  --brand-800: #04699F;
  --brand-900: #034c73;
  --brand-950: #053048;
  --brand: #034c73;
  --brand-ink: #ffffff;
}

Colors that work with #034c73

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#750C01
Second voice, not a rival
Dark variant#03527C
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 #034c73

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#732A03
Analogous left#037362
Analogous right#031473
Split-complement 1#730314
Split-complement 2#736203
Triadic 1#73034C
Triadic 2#4C7303
Tetradic#620373

RGB percentages

Red1.2%
Green29.8%
Blue45.1%

CMYK percentages

Cyan97.4%
Magenta33.9%
Yellow0.0%
Key (black)54.9%

Color previews

#034c73 text on a black background

contrast 2.29:1

Card sample

#034c73 text on a white background

contrast 9.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034c73

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.

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

#034c73, answered

What color is #034c73?

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

What is the RGB value of #034c73?

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

Is #034c73 a light or a dark color?

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

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

White. It scores 9.19:1 against #034c73, versus 2.29:1 for black — AAA at any size.

What is the complementary color of #034c73?

#732A03 sits directly opposite on the wheel. Softer options are the split-complements #730314 and #736203, which give the same contrast with far less vibration.

What colors go well with #034c73?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #750C01 as an accent and #03527C for hover and pressed states. For a palette, the analogous pair #037362 and #031473 stays calm, while #732A03 is the loudest partner.

What is #034c73 in CMYK for printing?

cmyk(97%, 34%, 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 #034c73 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 #037371; nudged cooler, #023F74.

Work with #034c73 in the Color Lab