Skip to content

#034ee2

a dark, electric blue · cool · closest name: Royal Blue

RGB
3, 78, 226
HSL
220°, 97%, 45%
CMYK
99, 66, 0, 11
Luminance
0.1096

At a glance

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

Hex
#034ee2
Hue
220°
blue
Saturation
97%
electric
Lightness
45%
dark
Brightness
89%
HSV value
Perceived
38%
weighted brightness
Luminance
0.1096
WCAG relative
Temperature
Cool
95/100 cool
Color family
Blue
Tone
Electric
Best ink
White
6.58:1
Closest name
Royal Blue
ΔE2000 8.7
Where it sits
Hue220° of 360°
Saturation97%
Lightness45%
Temperature
Warm ← → Cool95% 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#034ee2
RGBrgb(3, 78, 226)
HSLhsl(220, 97%, 45%)
CMYKcmyk(99%, 66%, 0%, 11%)
LABlab(39.5 39.6 -79.5)
LCHlch(39.5 88.8 296.5)
OKLCHoklch(0.493 0.233 262.5)
Decimal216802
Display P3color(display-p3 0.012 0.306 0.886)

Copy-ready code

/* CSS */
color: #034ee2;
background-color: #034ee2;
/* Tailwind (arbitrary) */
class="text-[#034ee2] bg-[#034ee2]"
/* SCSS */
$brand: #034ee2;
/* SwiftUI */
Color(red: 0.012, green: 0.306, blue: 0.886)
/* Android */
Color.parseColor("#034ee2")
/* Flutter */
Color(0xFF034EE2)
/* Python / OpenCV (BGR) */
(226, 78, 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 #034ee2 · 6.58:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.58:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.19:1
AA fail · AA large pass · AAA fail
Reading the other direction: #034ee2 as text scores 6.58:1 on white and 3.19:1 on black.

Accessibility — WCAG contrast

Aa
#034ee2 on white: 6.58:1
AA ✓ pass · AA-large · AAA
Aa
#034ee2 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067E7
deuteranopia · #0053DF
tritanopia · #007791

Color scale — 50 to 950

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

#F1F5FD
#E4ECFC
#C1D4FB
#90B5FE
#5990FD
#226BFC
#034ee2
#0346C9
#0238A1
#062B74
#041B49
Base = 600Lightest = 50 · #F1F5FDDarkest = 950 · #041B49
:root {
  --brand-50: #F1F5FD;
  --brand-100: #E4ECFC;
  --brand-200: #C1D4FB;
  --brand-300: #90B5FE;
  --brand-400: #5990FD;
  --brand-500: #226BFC;
  --brand-600: #034ee2;
  --brand-700: #0346C9;
  --brand-800: #0238A1;
  --brand-900: #062B74;
  --brand-950: #041B49;
  --brand: #034ee2;
  --brand-ink: #ffffff;
}

Colors that work with #034ee2

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#F4F6FA
Tinted page background
Border#C0CFED
Hairlines and dividers
Muted text#4B669B
Captions on the surface
Accent#E55F00
Second voice, not a rival
Dark variant#022B7E
Hover, pressed, headers
Light variant#E6EEFF
Selected rows, tints
Dark surface#141924
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 #034ee2

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
  • 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#E29703
Analogous left#03BEE2
Analogous right#2703E2
Split-complement 1#E22703
Split-complement 2#BEE203
Triadic 1#E2034E
Triadic 2#4EE203
Tetradic#E203BE

RGB percentages

Red1.2%
Green30.6%
Blue88.6%

CMYK percentages

Cyan98.7%
Magenta65.5%
Yellow0.0%
Key (black)11.4%

Color previews

#034ee2 text on a black background

contrast 3.19:1

Card sample

#034ee2 text on a white background

contrast 6.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 78, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 78, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #034ee2;
background: linear-gradient(135deg, #034ee2, #4D03E2);

Monochromatic scale

Palettes built from #034ee2

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.

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

#034ee2, answered

What color is #034ee2?

#034ee2 is a dark electric blue, closest to Royal Blue (ΔE2000 8.7). It sits at 220° on the hue wheel with 97% saturation and 45% lightness, which reads as cool.

What is the RGB value of #034ee2?

rgb(3, 78, 226) — 3 red, 78 green and 226 blue out of 255, or 1.2% / 30.6% / 88.6% by channel.

Is #034ee2 a light or a dark color?

It is a dark color. Relative luminance is 0.1096 and perceived brightness is 38%, so white text on it reaches 6.58:1.

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

White. It scores 6.58:1 against #034ee2, versus 3.19:1 for black — AA at any size.

What is the complementary color of #034ee2?

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

What colors go well with #034ee2?

For interface work: #F4F6FA as the surface, #C0CFED for borders, #4B669B for secondary text, #E55F00 as an accent and #022B7E for hover and pressed states. For a palette, the analogous pair #03BEE2 and #2703E2 stays calm, while #E29703 is the loudest partner.

What is #034ee2 in CMYK for printing?

cmyk(99%, 66%, 0%, 11%). 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 #034ee2 warm or cool?

Cool — it scores 95 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0A03E2; nudged cooler, #0151CB.

Work with #034ee2 in the Color Lab