Skip to content

#034c6f

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

RGB
3, 76, 111
HSL
199°, 95%, 22%
CMYK
97, 32, 0, 57
Luminance
0.0634

At a glance

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

Hex
#034c6f
Hue
199°
cyan
Saturation
95%
electric
Lightness
22%
deep
Brightness
44%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0634
WCAG relative
Temperature
Cool
96/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
9.26:1
Closest name
Dark Slate Gray
ΔE2000 14.9
Where it sits
Hue199° of 360°
Saturation95%
Lightness22%
Temperature
Warm ← → Cool96% 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#034c6f
RGBrgb(3, 76, 111)
HSLhsl(199, 95%, 22%)
CMYKcmyk(97%, 32%, 0%, 57%)
LABlab(30.2 -6.0 -25.7)
LCHlch(30.2 26.4 256.8)
OKLCHoklch(0.396 0.086 238.0)
Decimal216175
Display P3color(display-p3 0.012 0.298 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#034c6f on white: 9.26:1
AA ✓ pass · AA-large · AAA
Aa
#034c6f on black: 2.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3B4C71
deuteranopia · #2D436E
tritanopia · #005558

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #034c6f 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
#E4F4FB
#C2E8FA
#92DAFC
#5BC7FB
#25B4F9
#06A3EE
#0588C7
#046D9F
#034c6f
#053248
Base = 900Lightest = 50 · #F1F9FDDarkest = 950 · #053248
:root {
  --brand-50: #F1F9FD;
  --brand-100: #E4F4FB;
  --brand-200: #C2E8FA;
  --brand-300: #92DAFC;
  --brand-400: #5BC7FB;
  --brand-500: #25B4F9;
  --brand-600: #06A3EE;
  --brand-700: #0588C7;
  --brand-800: #046D9F;
  --brand-900: #034c6f;
  --brand-950: #053248;
  --brand: #034c6f;
  --brand-ink: #ffffff;
}

Colors that work with #034c6f

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#C0DEED
Hairlines and dividers
Muted text#4B819B
Captions on the surface
Accent#710901
Second voice, not a rival
Dark variant#03557C
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 #034c6f

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#6F2603
Analogous left#036F5C
Analogous right#03166F
Split-complement 1#6F0316
Split-complement 2#6F5C03
Triadic 1#6F034C
Triadic 2#4C6F03
Tetradic#5C036F

RGB percentages

Red1.2%
Green29.8%
Blue43.5%

CMYK percentages

Cyan97.3%
Magenta31.5%
Yellow0.0%
Key (black)56.5%

Color previews

#034c6f text on a black background

contrast 2.27:1

Card sample

#034c6f text on a white background

contrast 9.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #034c6f

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.

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

#034c6f, answered

What color is #034c6f?

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

What is the RGB value of #034c6f?

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

Is #034c6f a light or a dark color?

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

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

White. It scores 9.26:1 against #034c6f, versus 2.27:1 for black — AAA at any size.

What is the complementary color of #034c6f?

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

What colors go well with #034c6f?

For interface work: #F4F8FA as the surface, #C0DEED for borders, #4B819B for secondary text, #710901 as an accent and #03557C for hover and pressed states. For a palette, the analogous pair #036F5C and #03166F stays calm, while #6F2603 is the loudest partner.

What is #034c6f in CMYK for printing?

cmyk(97%, 32%, 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 #034c6f warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #036F6B; nudged cooler, #023E70.

Work with #034c6f in the Color Lab