Skip to content

#034c52

a deep, electric cyan · cool · closest name: Dark Slate Gray

RGB
3, 76, 82
HSL
185°, 93%, 17%
CMYK
96, 7, 0, 68
Luminance
0.0580

At a glance

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

Hex
#034c52
Hue
185°
cyan
Saturation
93%
electric
Lightness
17%
deep
Brightness
32%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0580
WCAG relative
Temperature
Cool
89/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
9.72:1
Closest name
Dark Slate Gray
ΔE2000 5.6
Where it sits
Hue185° of 360°
Saturation93%
Lightness17%
Temperature
Warm ← → Cool89% 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#034c52
RGBrgb(3, 76, 82)
HSLhsl(185, 93%, 17%)
CMYKcmyk(96%, 7%, 0%, 68%)
LABlab(28.9 -17.5 -9.3)
LCHlch(28.9 19.9 208.0)
OKLCHoklch(0.380 0.064 204.1)
Decimal216146
Display P3color(display-p3 0.012 0.298 0.322)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034c52 on white: 9.72:1
AA ✓ pass · AA-large · AAA
Aa
#034c52 on black: 2.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #454852
deuteranopia · #3B4152
tritanopia · #00504E

Color scale — 50 to 950

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

#F2FCFD
#E4F9FB
#C2F5F9
#93F3FB
#5DEDF9
#27E7F7
#09DBEC
#07B6C5
#06929D
#096972
#034c52
Base = 950Lightest = 50 · #F2FCFDDarkest = 950 · #034c52
:root {
  --brand-50: #F2FCFD;
  --brand-100: #E4F9FB;
  --brand-200: #C2F5F9;
  --brand-300: #93F3FB;
  --brand-400: #5DEDF9;
  --brand-500: #27E7F7;
  --brand-600: #09DBEC;
  --brand-700: #07B6C5;
  --brand-800: #06929D;
  --brand-900: #096972;
  --brand-950: #034c52;
  --brand: #034c52;
  --brand-ink: #ffffff;
}

Colors that work with #034c52

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#F4FAFA
Tinted page background
Border#C0E9ED
Hairlines and dividers
Muted text#4B959B
Captions on the surface
Accent#540110
Second voice, not a rival
Dark variant#05727B
Hover, pressed, headers
Light variant#E6FCFE
Selected rows, tints
Dark surface#142324
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 #034c52

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#520903
Analogous left#035231
Analogous right#032552
Split-complement 1#520325
Split-complement 2#523103
Triadic 1#52034C
Triadic 2#4C5203
Tetradic#310352

RGB percentages

Red1.2%
Green29.8%
Blue32.2%

CMYK percentages

Cyan96.3%
Magenta7.3%
Yellow0.0%
Key (black)67.8%

Color previews

#034c52 text on a black background

contrast 2.16:1

Card sample

#034c52 text on a white background

contrast 9.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(3, 76, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 76, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #034c52;
background: linear-gradient(135deg, #034c52, #031752);

Monochromatic scale

Palettes built from #034c52

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.

#034c52 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#034c52, answered

What color is #034c52?

#034c52 is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 5.6). It sits at 185° on the hue wheel with 93% saturation and 17% lightness, which reads as cool.

What is the RGB value of #034c52?

rgb(3, 76, 82) — 3 red, 76 green and 82 blue out of 255, or 1.2% / 29.8% / 32.2% by channel.

Is #034c52 a light or a dark color?

It is a dark color. Relative luminance is 0.0580 and perceived brightness is 25%, so white text on it reaches 9.72:1.

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

White. It scores 9.72:1 against #034c52, versus 2.16:1 for black — AAA at any size.

What is the complementary color of #034c52?

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

What colors go well with #034c52?

For interface work: #F4FAFA as the surface, #C0E9ED for borders, #4B959B for secondary text, #540110 as an accent and #05727B for hover and pressed states. For a palette, the analogous pair #035231 and #032552 stays calm, while #520903 is the loudest partner.

What is #034c52 in CMYK for printing?

cmyk(96%, 7%, 0%, 68%). 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 #034c52 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #03523B; nudged cooler, #023353.

Work with #034c52 in the Color Lab