Skip to content

#034c76

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

RGB
3, 76, 118
HSL
202°, 95%, 24%
CMYK
98, 36, 0, 54
Luminance
0.0650

At a glance

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

Hex
#034c76
Hue
202°
blue
Saturation
95%
electric
Lightness
24%
deep
Brightness
46%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0650
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.13:1
Closest name
Dark Slate Blue
ΔE2000 15.1
Where it sits
Hue202° of 360°
Saturation95%
Lightness24%
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#034c76
RGBrgb(3, 76, 118)
HSLhsl(202, 95%, 24%)
CMYKcmyk(98%, 36%, 0%, 54%)
LABlab(30.6 -3.1 -29.5)
LCHlch(30.6 29.7 264.0)
OKLCHoklch(0.400 0.095 242.8)
Decimal216182
Display P3color(display-p3 0.012 0.298 0.463)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034c76 on white: 9.13:1
AA ✓ pass · AA-large · AAA
Aa
#034c76 on black: 2.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #384D78
deuteranopia · #284475
tritanopia · #00565B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #034c76 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
#C2E5FA
#92D5FC
#5BC0FB
#24ACF9
#069AEF
#0580C7
#04679F
#034c76
#052F48
Base = 900Lightest = 50 · #F1F9FDDarkest = 950 · #052F48
:root {
  --brand-50: #F1F9FD;
  --brand-100: #E4F3FB;
  --brand-200: #C2E5FA;
  --brand-300: #92D5FC;
  --brand-400: #5BC0FB;
  --brand-500: #24ACF9;
  --brand-600: #069AEF;
  --brand-700: #0580C7;
  --brand-800: #04679F;
  --brand-900: #034c76;
  --brand-950: #052F48;
  --brand: #034c76;
  --brand-ink: #ffffff;
}

Colors that work with #034c76

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#4B7E9B
Captions on the surface
Accent#780E01
Second voice, not a rival
Dark variant#03507C
Hover, pressed, headers
Light variant#E6F6FE
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 #034c76

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#762D03
Analogous left#037666
Analogous right#031376
Split-complement 1#760313
Split-complement 2#766603
Triadic 1#76034C
Triadic 2#4C7603
Tetradic#660376

RGB percentages

Red1.2%
Green29.8%
Blue46.3%

CMYK percentages

Cyan97.5%
Magenta35.6%
Yellow0.0%
Key (black)53.7%

Color previews

#034c76 text on a black background

contrast 2.30:1

Card sample

#034c76 text on a white background

contrast 9.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034c76

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.

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

#034c76, answered

What color is #034c76?

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

What is the RGB value of #034c76?

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

Is #034c76 a light or a dark color?

It is a dark color. Relative luminance is 0.0650 and perceived brightness is 28%, so white text on it reaches 9.13:1.

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

White. It scores 9.13:1 against #034c76, versus 2.30:1 for black — AAA at any size.

What is the complementary color of #034c76?

#762D03 sits directly opposite on the wheel. Softer options are the split-complements #760313 and #766603, which give the same contrast with far less vibration.

What colors go well with #034c76?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7E9B for secondary text, #780E01 as an accent and #03507C for hover and pressed states. For a palette, the analogous pair #037666 and #031376 stays calm, while #762D03 is the loudest partner.

What is #034c76 in CMYK for printing?

cmyk(98%, 36%, 0%, 54%). 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 #034c76 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 #037676; nudged cooler, #024077.

Work with #034c76 in the Color Lab