Skip to content

#034c40

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

RGB
3, 76, 64
HSL
170°, 92%, 16%
CMYK
96, 0, 16, 70
Luminance
0.0556

At a glance

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

Hex
#034c40
Hue
170°
cyan
Saturation
92%
electric
Lightness
16%
deep
Brightness
30%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0556
WCAG relative
Temperature
Cool
83/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
9.94:1
Closest name
Dark Slate Gray
ΔE2000 9.2
Where it sits
Hue170° of 360°
Saturation92%
Lightness16%
Temperature
Warm ← → Cool83% 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#034c40
RGBrgb(3, 76, 64)
HSLhsl(170, 92%, 16%)
CMYKcmyk(96%, 0%, 16%, 70%)
LABlab(28.3 -23.7 1.4)
LCHlch(28.3 23.8 176.7)
OKLCHoklch(0.373 0.068 177.3)
Decimal216128
Display P3color(display-p3 0.012 0.298 0.251)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034c40 on white: 9.94:1
AA ✓ pass · AA-large · AAA
Aa
#034c40 on black: 2.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #48463F
deuteranopia · #404041
tritanopia · #004D48

Color scale — 50 to 950

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

#F2FDFB
#E4FBF7
#C3F9F0
#93FBEA
#5DF9DF
#27F6D4
#09EBC6
#08C4A5
#069D84
#097160
#034c40
Base = 950Lightest = 50 · #F2FDFBDarkest = 950 · #034c40
:root {
  --brand-50: #F2FDFB;
  --brand-100: #E4FBF7;
  --brand-200: #C3F9F0;
  --brand-300: #93FBEA;
  --brand-400: #5DF9DF;
  --brand-500: #27F6D4;
  --brand-600: #09EBC6;
  --brand-700: #08C4A5;
  --brand-800: #069D84;
  --brand-900: #097160;
  --brand-950: #034c40;
  --brand: #034c40;
  --brand-ink: #ffffff;
}

Colors that work with #034c40

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#F4FAF9
Tinted page background
Border#C0EDE5
Hairlines and dividers
Muted text#4B9B8E
Captions on the surface
Accent#4E0121
Second voice, not a rival
Dark variant#057B67
Hover, pressed, headers
Light variant#E6FEFA
Selected rows, tints
Dark surface#142422
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 #034c40

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#4C030F
Analogous left#034C1B
Analogous right#03344C
Split-complement 1#4C0334
Split-complement 2#4C1B03
Triadic 1#40034C
Triadic 2#4C4003
Tetradic#1B034C

RGB percentages

Red1.2%
Green29.8%
Blue25.1%

CMYK percentages

Cyan96.1%
Magenta0.0%
Yellow15.8%
Key (black)70.2%

Color previews

#034c40 text on a black background

contrast 2.11:1

Card sample

#034c40 text on a white background

contrast 9.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034c40

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.

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

#034c40, answered

What color is #034c40?

#034c40 is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 9.2). It sits at 170° on the hue wheel with 92% saturation and 16% lightness, which reads as cool.

What is the RGB value of #034c40?

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

Is #034c40 a light or a dark color?

It is a dark color. Relative luminance is 0.0556 and perceived brightness is 24%, so white text on it reaches 9.94:1.

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

White. It scores 9.94:1 against #034c40, versus 2.11:1 for black — AAA at any size.

What is the complementary color of #034c40?

#4C030F sits directly opposite on the wheel. Softer options are the split-complements #4C0334 and #4C1B03, which give the same contrast with far less vibration.

What colors go well with #034c40?

For interface work: #F4FAF9 as the surface, #C0EDE5 for borders, #4B9B8E for secondary text, #4E0121 as an accent and #057B67 for hover and pressed states. For a palette, the analogous pair #034C1B and #03344C stays calm, while #4C030F is the loudest partner.

What is #034c40 in CMYK for printing?

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

Cool — it scores 83 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #034C25; nudged cooler, #023E4D.

Work with #034c40 in the Color Lab