Skip to content

#03476f

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

RGB
3, 71, 111
HSL
202°, 95%, 22%
CMYK
97, 36, 0, 57
Luminance
0.0567

At a glance

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

Hex
#03476f
Hue
202°
blue
Saturation
95%
electric
Lightness
22%
deep
Brightness
44%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0567
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.84:1
Closest name
Dark Slate Blue
ΔE2000 14.5
Where it sits
Hue202° of 360°
Saturation95%
Lightness22%
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#03476f
RGBrgb(3, 71, 111)
HSLhsl(202, 95%, 22%)
CMYKcmyk(97%, 36%, 0%, 57%)
LABlab(28.6 -2.8 -28.4)
LCHlch(28.6 28.5 264.3)
OKLCHoklch(0.382 0.091 243.0)
Decimal214895
Display P3color(display-p3 0.012 0.278 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#03476f on white: 9.84:1
AA ✓ pass · AA-large · AAA
Aa
#03476f on black: 2.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #344871
deuteranopia · #253F6E
tritanopia · #005155

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #03476f 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
#25AAF9
#0699EE
#057FC7
#04669F
#03476f
#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: #25AAF9;
  --brand-600: #0699EE;
  --brand-700: #057FC7;
  --brand-800: #04669F;
  --brand-900: #03476f;
  --brand-950: #052F48;
  --brand: #03476f;
  --brand-ink: #ffffff;
}

Colors that work with #03476f

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#4B7D9B
Captions on the surface
Accent#710E01
Second voice, not a rival
Dark variant#034F7C
Hover, pressed, headers
Light variant#E6F5FE
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 #03476f

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#6F2B03
Analogous left#036F61
Analogous right#03116F
Split-complement 1#6F0311
Split-complement 2#6F6103
Triadic 1#6F0347
Triadic 2#476F03
Tetradic#61036F

RGB percentages

Red1.2%
Green27.8%
Blue43.5%

CMYK percentages

Cyan97.3%
Magenta36.0%
Yellow0.0%
Key (black)56.5%

Color previews

#03476f text on a black background

contrast 2.13:1

Card sample

#03476f text on a white background

contrast 9.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #03476f;
Background color
Panel with #03476f background
background-color: #03476f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #03476f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(3, 71, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 71, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #03476f;
background: linear-gradient(135deg, #03476f, #07036F);

Monochromatic scale

Palettes built from #03476f

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.

#03476f 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.

#03476f, answered

What color is #03476f?

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

What is the RGB value of #03476f?

rgb(3, 71, 111) — 3 red, 71 green and 111 blue out of 255, or 1.2% / 27.8% / 43.5% by channel.

Is #03476f a light or a dark color?

It is a dark color. Relative luminance is 0.0567 and perceived brightness is 26%, so white text on it reaches 9.84:1.

Should I use black or white text on #03476f?

White. It scores 9.84:1 against #03476f, versus 2.13:1 for black — AAA at any size.

What is the complementary color of #03476f?

#6F2B03 sits directly opposite on the wheel. Softer options are the split-complements #6F0311 and #6F6103, which give the same contrast with far less vibration.

What colors go well with #03476f?

For interface work: #F4F8FA as the surface, #C0DCED for borders, #4B7D9B for secondary text, #710E01 as an accent and #034F7C for hover and pressed states. For a palette, the analogous pair #036F61 and #03116F stays calm, while #6F2B03 is the loudest partner.

What is #03476f in CMYK for printing?

cmyk(97%, 36%, 0%, 57%). 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 #03476f 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 #036F6F; nudged cooler, #023C70.

Work with #03476f in the Color Lab