Skip to content

#073eb4

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

RGB
7, 62, 180
HSL
221°, 93%, 37%
CMYK
96, 66, 0, 29
Luminance
0.0679

At a glance

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

Hex
#073eb4
Hue
221°
blue
Saturation
93%
electric
Lightness
37%
dark
Brightness
71%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0679
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Electric
Best ink
White
8.91:1
Closest name
Dark Slate Blue
ΔE2000 9
Where it sits
Hue221° of 360°
Saturation93%
Lightness37%
Temperature
Warm ← → Cool94% 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#073eb4
RGBrgb(7, 62, 180)
HSLhsl(221, 93%, 37%)
CMYKcmyk(96%, 66%, 0%, 29%)
LABlab(31.3 32.5 -66.2)
LCHlch(31.3 73.8 296.1)
OKLCHoklch(0.420 0.194 262.7)
Decimal474804
Display P3color(display-p3 0.027 0.243 0.706)

Copy-ready code

/* CSS */
color: #073eb4;
background-color: #073eb4;
/* Tailwind (arbitrary) */
class="text-[#073eb4] bg-[#073eb4]"
/* SCSS */
$brand: #073eb4;
/* SwiftUI */
Color(red: 0.027, green: 0.243, blue: 0.706)
/* Android */
Color.parseColor("#073eb4")
/* Flutter */
Color(0xFF073EB4)
/* Python / OpenCV (BGR) */
(180, 62, 7)

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 #073eb4 · 8.91:1
Use #ffffffAAA at every size.
Aa
White text · 8.91:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.36:1
AA fail · AA large fail · AAA fail
Reading the other direction: #073eb4 as text scores 8.91:1 on white and 2.36:1 on black.

Accessibility — WCAG contrast

Aa
#073eb4 on white: 8.91:1
AA ✓ pass · AA-large · AAA
Aa
#073eb4 on black: 2.36:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052B8
deuteranopia · #0042B2
tritanopia · #005E73

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #073eb4 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.

#F2F5FD
#E4ECFB
#C3D4F9
#93B4FB
#5D8FF9
#2769F7
#0951EC
#073eb4
#06369D
#092A71
#061A47
Base = 700Lightest = 50 · #F2F5FDDarkest = 950 · #061A47
:root {
  --brand-50: #F2F5FD;
  --brand-100: #E4ECFB;
  --brand-200: #C3D4F9;
  --brand-300: #93B4FB;
  --brand-400: #5D8FF9;
  --brand-500: #2769F7;
  --brand-600: #0951EC;
  --brand-700: #073eb4;
  --brand-800: #06369D;
  --brand-900: #092A71;
  --brand-950: #061A47;
  --brand: #073eb4;
  --brand-ink: #ffffff;
}

Colors that work with #073eb4

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#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#B85103
Second voice, not a rival
Dark variant#052A7B
Hover, pressed, headers
Light variant#E6EEFE
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 #073eb4

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#B47D07
Analogous left#0795B4
Analogous right#2607B4
Split-complement 1#B42607
Split-complement 2#95B407
Triadic 1#B4073E
Triadic 2#3EB407
Tetradic#B40795

RGB percentages

Red2.7%
Green24.3%
Blue70.6%

CMYK percentages

Cyan96.1%
Magenta65.6%
Yellow0.0%
Key (black)29.4%

Color previews

#073eb4 text on a black background

contrast 2.36:1

Card sample

#073eb4 text on a white background

contrast 8.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #073eb4;
Background color
Panel with #073eb4 background
background-color: #073eb4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #073eb4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(7, 62, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 62, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #073eb4;
background: linear-gradient(135deg, #073eb4, #4307B4);

Monochromatic scale

Palettes built from #073eb4

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.

#073eb4 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.

#073eb4, answered

What color is #073eb4?

#073eb4 is a dark electric blue, closest to Dark Slate Blue (ΔE2000 9). It sits at 221° on the hue wheel with 93% saturation and 37% lightness, which reads as cool.

What is the RGB value of #073eb4?

rgb(7, 62, 180) — 7 red, 62 green and 180 blue out of 255, or 2.7% / 24.3% / 70.6% by channel.

Is #073eb4 a light or a dark color?

It is a dark color. Relative luminance is 0.0679 and perceived brightness is 30%, so white text on it reaches 8.91:1.

Should I use black or white text on #073eb4?

White. It scores 8.91:1 against #073eb4, versus 2.36:1 for black — AAA at any size.

What is the complementary color of #073eb4?

#B47D07 sits directly opposite on the wheel. Softer options are the split-complements #B42607 and #95B407, which give the same contrast with far less vibration.

What colors go well with #073eb4?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #B85103 as an accent and #052A7B for hover and pressed states. For a palette, the analogous pair #0795B4 and #2607B4 stays calm, while #B47D07 is the loudest partner.

What is #073eb4 in CMYK for printing?

cmyk(96%, 66%, 0%, 29%). 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 #073eb4 warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0F07B4; nudged cooler, #04419D.

Work with #073eb4 in the Color Lab