Skip to content

#034ba9

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

RGB
3, 75, 169
HSL
214°, 97%, 34%
CMYK
98, 56, 0, 34
Luminance
0.0792

At a glance

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

Hex
#034ba9
Hue
214°
blue
Saturation
97%
electric
Lightness
34%
dark
Brightness
66%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0792
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.13:1
Closest name
Dark Slate Blue
ΔE2000 11.1
Where it sits
Hue214° of 360°
Saturation97%
Lightness34%
Temperature
Warm ← → Cool98% 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#034ba9
RGBrgb(3, 75, 169)
HSLhsl(214, 97%, 34%)
CMYKcmyk(98%, 56%, 0%, 34%)
LABlab(33.8 19.1 -55.6)
LCHlch(33.8 58.8 288.9)
OKLCHoklch(0.436 0.164 258.7)
Decimal215977
Display P3color(display-p3 0.012 0.294 0.663)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034ba9 on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#034ba9 on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057AC
deuteranopia · #0049A7
tritanopia · #006372

Color scale — 50 to 950

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

#F1F7FD
#E4EEFC
#C1DAFB
#91C0FD
#5AA0FC
#2380FB
#046BF1
#0459C8
#034ba9
#073674
#042248
Base = 800Lightest = 50 · #F1F7FDDarkest = 950 · #042248
:root {
  --brand-50: #F1F7FD;
  --brand-100: #E4EEFC;
  --brand-200: #C1DAFB;
  --brand-300: #91C0FD;
  --brand-400: #5AA0FC;
  --brand-500: #2380FB;
  --brand-600: #046BF1;
  --brand-700: #0459C8;
  --brand-800: #034ba9;
  --brand-900: #073674;
  --brand-950: #042248;
  --brand: #034ba9;
  --brand-ink: #ffffff;
}

Colors that work with #034ba9

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#F4F7FA
Tinted page background
Border#C0D3ED
Hairlines and dividers
Muted text#4B6D9B
Captions on the surface
Accent#AC3600
Second voice, not a rival
Dark variant#02387D
Hover, pressed, headers
Light variant#E6F1FF
Selected rows, tints
Dark surface#141B24
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 #034ba9

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#A96103
Analogous left#039EA9
Analogous right#0E03A9
Split-complement 1#A90E03
Split-complement 2#9EA903
Triadic 1#A9034B
Triadic 2#4BA903
Tetradic#A9039E

RGB percentages

Red1.2%
Green29.4%
Blue66.3%

CMYK percentages

Cyan98.2%
Magenta55.6%
Yellow0.0%
Key (black)33.7%

Color previews

#034ba9 text on a black background

contrast 2.58:1

Card sample

#034ba9 text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 75, 169, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 75, 169, 0.45);
Border & gradient
Gradient panel
border: 3px solid #034ba9;
background: linear-gradient(135deg, #034ba9, #2A03A9);

Monochromatic scale

Palettes built from #034ba9

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.

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

#034ba9, answered

What color is #034ba9?

#034ba9 is a dark electric blue, closest to Dark Slate Blue (ΔE2000 11.1). It sits at 214° on the hue wheel with 97% saturation and 34% lightness, which reads as cool.

What is the RGB value of #034ba9?

rgb(3, 75, 169) — 3 red, 75 green and 169 blue out of 255, or 1.2% / 29.4% / 66.3% by channel.

Is #034ba9 a light or a dark color?

It is a dark color. Relative luminance is 0.0792 and perceived brightness is 32%, so white text on it reaches 8.13:1.

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

White. It scores 8.13:1 against #034ba9, versus 2.58:1 for black — AAA at any size.

What is the complementary color of #034ba9?

#A96103 sits directly opposite on the wheel. Softer options are the split-complements #A90E03 and #9EA903, which give the same contrast with far less vibration.

What colors go well with #034ba9?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6D9B for secondary text, #AC3600 as an accent and #02387D for hover and pressed states. For a palette, the analogous pair #039EA9 and #0E03A9 stays calm, while #A96103 is the loudest partner.

What is #034ba9 in CMYK for printing?

cmyk(98%, 56%, 0%, 34%). 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 #034ba9 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #030EA9; nudged cooler, #014291.

Work with #034ba9 in the Color Lab