Skip to content

#034abc

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

RGB
3, 74, 188
HSL
217°, 97%, 38%
CMYK
98, 61, 0, 26
Luminance
0.0855

At a glance

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

Hex
#034abc
Hue
217°
blue
Saturation
97%
electric
Lightness
38%
dark
Brightness
74%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0855
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
White
7.75:1
Closest name
Dark Slate Blue
ΔE2000 11
Where it sits
Hue217° of 360°
Saturation97%
Lightness38%
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#034abc
RGBrgb(3, 74, 188)
HSLhsl(217, 97%, 38%)
CMYKcmyk(98%, 61%, 0%, 26%)
LABlab(35.1 27.5 -64.8)
LCHlch(35.1 70.3 293.0)
OKLCHoklch(0.450 0.190 260.9)
Decimal215740
Display P3color(display-p3 0.012 0.290 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034abc on white: 7.75:1
AA ✓ pass · AA-large · AAA
Aa
#034abc on black: 2.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BC0
deuteranopia · #004BBA
tritanopia · #00687C

Color scale — 50 to 950

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

#F1F6FD
#E4EDFC
#C1D7FB
#91BAFD
#5998FC
#2275FC
#045FF1
#034abc
#033FA1
#073074
#041E48
Base = 700Lightest = 50 · #F1F6FDDarkest = 950 · #041E48
:root {
  --brand-50: #F1F6FD;
  --brand-100: #E4EDFC;
  --brand-200: #C1D7FB;
  --brand-300: #91BAFD;
  --brand-400: #5998FC;
  --brand-500: #2275FC;
  --brand-600: #045FF1;
  --brand-700: #034abc;
  --brand-800: #033FA1;
  --brand-900: #073074;
  --brand-950: #041E48;
  --brand: #034abc;
  --brand-ink: #ffffff;
}

Colors that work with #034abc

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#C0D1ED
Hairlines and dividers
Muted text#4B699B
Captions on the surface
Accent#BF4600
Second voice, not a rival
Dark variant#02317E
Hover, pressed, headers
Light variant#E6EFFF
Selected rows, tints
Dark surface#141A24
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 #034abc

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#BC7503
Analogous left#03A7BC
Analogous right#1903BC
Split-complement 1#BC1903
Split-complement 2#A7BC03
Triadic 1#BC034A
Triadic 2#4ABC03
Tetradic#BC03A7

RGB percentages

Red1.2%
Green29.0%
Blue73.7%

CMYK percentages

Cyan98.4%
Magenta60.6%
Yellow0.0%
Key (black)26.3%

Color previews

#034abc text on a black background

contrast 2.71:1

Card sample

#034abc text on a white background

contrast 7.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 74, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 74, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #034abc;
background: linear-gradient(135deg, #034abc, #3703BC);

Monochromatic scale

Palettes built from #034abc

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.

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

#034abc, answered

What color is #034abc?

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

What is the RGB value of #034abc?

rgb(3, 74, 188) — 3 red, 74 green and 188 blue out of 255, or 1.2% / 29% / 73.7% by channel.

Is #034abc a light or a dark color?

It is a dark color. Relative luminance is 0.0855 and perceived brightness is 33%, so white text on it reaches 7.75:1.

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

White. It scores 7.75:1 against #034abc, versus 2.71:1 for black — AAA at any size.

What is the complementary color of #034abc?

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

What colors go well with #034abc?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B699B for secondary text, #BF4600 as an accent and #02317E for hover and pressed states. For a palette, the analogous pair #03A7BC and #1903BC stays calm, while #BC7503 is the loudest partner.

What is #034abc in CMYK for printing?

cmyk(98%, 61%, 0%, 26%). 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 #034abc 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 #0306BC; nudged cooler, #0147A5.

Work with #034abc in the Color Lab