Skip to content

#034d6f

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

RGB
3, 77, 111
HSL
199°, 95%, 22%
CMYK
97, 31, 0, 57
Luminance
0.0647

At a glance

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

Hex
#034d6f
Hue
199°
cyan
Saturation
95%
electric
Lightness
22%
deep
Brightness
44%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0647
WCAG relative
Temperature
Cool
95/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
9.15:1
Closest name
Dark Slate Gray
ΔE2000 14.5
Where it sits
Hue199° of 360°
Saturation95%
Lightness22%
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#034d6f
RGBrgb(3, 77, 111)
HSLhsl(199, 95%, 22%)
CMYKcmyk(97%, 31%, 0%, 57%)
LABlab(30.6 -6.7 -25.2)
LCHlch(30.6 26.1 255.2)
OKLCHoklch(0.398 0.085 236.9)
Decimal216431
Display P3color(display-p3 0.012 0.302 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034d6f on white: 9.15:1
AA ✓ pass · AA-large · AAA
Aa
#034d6f on black: 2.29:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3C4D71
deuteranopia · #2F446E
tritanopia · #005659

Color scale — 50 to 950

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

#F1FAFD
#E4F4FB
#C2E8FA
#92DBFC
#5BC8FB
#25B6F9
#06A5EE
#058AC7
#046E9F
#034d6f
#053348
Base = 900Lightest = 50 · #F1FAFDDarkest = 950 · #053348
:root {
  --brand-50: #F1FAFD;
  --brand-100: #E4F4FB;
  --brand-200: #C2E8FA;
  --brand-300: #92DBFC;
  --brand-400: #5BC8FB;
  --brand-500: #25B6F9;
  --brand-600: #06A5EE;
  --brand-700: #058AC7;
  --brand-800: #046E9F;
  --brand-900: #034d6f;
  --brand-950: #053348;
  --brand: #034d6f;
  --brand-ink: #ffffff;
}

Colors that work with #034d6f

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#C0DFED
Hairlines and dividers
Muted text#4B829B
Captions on the surface
Accent#710801
Second voice, not a rival
Dark variant#03567C
Hover, pressed, headers
Light variant#E6F7FE
Selected rows, tints
Dark surface#141F24
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 #034d6f

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#6F2503
Analogous left#036F5B
Analogous right#03176F
Split-complement 1#6F0317
Split-complement 2#6F5B03
Triadic 1#6F034D
Triadic 2#4D6F03
Tetradic#5B036F

RGB percentages

Red1.2%
Green30.2%
Blue43.5%

CMYK percentages

Cyan97.3%
Magenta30.6%
Yellow0.0%
Key (black)56.5%

Color previews

#034d6f text on a black background

contrast 2.29:1

Card sample

#034d6f text on a white background

contrast 9.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034d6f

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.

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

#034d6f, answered

What color is #034d6f?

#034d6f is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 14.5). It sits at 199° on the hue wheel with 95% saturation and 22% lightness, which reads as cool.

What is the RGB value of #034d6f?

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

Is #034d6f a light or a dark color?

It is a dark color. Relative luminance is 0.0647 and perceived brightness is 27%, so white text on it reaches 9.15:1.

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

White. It scores 9.15:1 against #034d6f, versus 2.29:1 for black — AAA at any size.

What is the complementary color of #034d6f?

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

What colors go well with #034d6f?

For interface work: #F4F8FA as the surface, #C0DFED for borders, #4B829B for secondary text, #710801 as an accent and #03567C for hover and pressed states. For a palette, the analogous pair #036F5B and #03176F stays calm, while #6F2503 is the loudest partner.

What is #034d6f in CMYK for printing?

cmyk(97%, 31%, 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 #034d6f 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 #036F6A; nudged cooler, #023E70.

Work with #034d6f in the Color Lab