Skip to content

#043f2f

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

RGB
4, 63, 47
HSL
164°, 88%, 13%
CMYK
94, 0, 25, 75
Luminance
0.0379

At a glance

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

Hex
#043f2f
Hue
164°
cyan
Saturation
88%
electric
Lightness
13%
deep
Brightness
25%
HSV value
Perceived
20%
weighted brightness
Luminance
0.0379
WCAG relative
Temperature
Cool
81/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
11.95:1
Closest name
Dark Slate Gray
ΔE2000 11.4
Where it sits
Hue164° of 360°
Saturation88%
Lightness13%
Temperature
Warm ← → Cool81% 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#043f2f
RGBrgb(4, 63, 47)
HSLhsl(164, 88%, 13%)
CMYKcmyk(94%, 0%, 25%, 75%)
LABlab(22.9 -22.4 4.8)
LCHlch(22.9 22.9 167.9)
OKLCHoklch(0.328 0.063 168.8)
Decimal278319
Display P3color(display-p3 0.016 0.247 0.184)

Copy-ready code

/* CSS */
color: #043f2f;
background-color: #043f2f;
/* Tailwind (arbitrary) */
class="text-[#043f2f] bg-[#043f2f]"
/* SCSS */
$brand: #043f2f;
/* SwiftUI */
Color(red: 0.016, green: 0.247, blue: 0.184)
/* Android */
Color.parseColor("#043f2f")
/* Flutter */
Color(0xFF043F2F)
/* Python / OpenCV (BGR) */
(47, 63, 4)

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 #043f2f · 11.95:1
Use #ffffffAAA at every size.
Aa
White text · 11.95:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.76:1
AA fail · AA large fail · AAA fail
Reading the other direction: #043f2f as text scores 11.95:1 on white and 1.76:1 on black.

Accessibility — WCAG contrast

Aa
#043f2f on white: 11.95:1
AA ✓ pass · AA-large · AAA
Aa
#043f2f on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3D3A2E
deuteranopia · #363530
tritanopia · #003F3A

Color scale — 50 to 950

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

#F2FDFA
#E5FAF5
#C4F8EA
#95F8DD
#61F5CD
#2CF2BC
#0FE6AC
#0CC08F
#0A9972
#0C6F54
#043f2f
Base = 950Lightest = 50 · #F2FDFADarkest = 950 · #043f2f
:root {
  --brand-50: #F2FDFA;
  --brand-100: #E5FAF5;
  --brand-200: #C4F8EA;
  --brand-300: #95F8DD;
  --brand-400: #61F5CD;
  --brand-500: #2CF2BC;
  --brand-600: #0FE6AC;
  --brand-700: #0CC08F;
  --brand-800: #0A9972;
  --brand-900: #0C6F54;
  --brand-950: #043f2f;
  --brand: #043f2f;
  --brand-ink: #ffffff;
}

Colors that work with #043f2f

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#C0EDE0
Hairlines and dividers
Muted text#4B9B85
Captions on the surface
Accent#400323
Second voice, not a rival
Dark variant#087859
Hover, pressed, headers
Light variant#E7FDF7
Selected rows, tints
Dark surface#142420
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 #043f2f

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#3F0414
Analogous left#043F11
Analogous right#04313F
Split-complement 1#3F0431
Split-complement 2#3F1104
Triadic 1#2F043F
Triadic 2#3F2F04
Tetradic#11043F

RGB percentages

Red1.6%
Green24.7%
Blue18.4%

CMYK percentages

Cyan93.7%
Magenta0.0%
Yellow25.4%
Key (black)75.3%

Color previews

#043f2f text on a black background

contrast 1.76:1

Card sample

#043f2f text on a white background

contrast 11.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #043f2f;
Background color
Panel with #043f2f background
background-color: #043f2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #043f2f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(4, 63, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 63, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #043f2f;
background: linear-gradient(135deg, #043f2f, #04283F);

Monochromatic scale

Palettes built from #043f2f

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.

#043f2f 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.

#043f2f, answered

What color is #043f2f?

#043f2f is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 11.4). It sits at 164° on the hue wheel with 88% saturation and 13% lightness, which reads as cool.

What is the RGB value of #043f2f?

rgb(4, 63, 47) — 4 red, 63 green and 47 blue out of 255, or 1.6% / 24.7% / 18.4% by channel.

Is #043f2f a light or a dark color?

It is a dark color. Relative luminance is 0.0379 and perceived brightness is 20%, so white text on it reaches 11.95:1.

Should I use black or white text on #043f2f?

White. It scores 11.95:1 against #043f2f, versus 1.76:1 for black — AAA at any size.

What is the complementary color of #043f2f?

#3F0414 sits directly opposite on the wheel. Softer options are the split-complements #3F0431 and #3F1104, which give the same contrast with far less vibration.

What colors go well with #043f2f?

For interface work: #F4FAF9 as the surface, #C0EDE0 for borders, #4B9B85 for secondary text, #400323 as an accent and #087859 for hover and pressed states. For a palette, the analogous pair #043F11 and #04313F stays calm, while #3F0414 is the loudest partner.

What is #043f2f in CMYK for printing?

cmyk(94%, 0%, 25%, 75%). 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 #043f2f warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #043F19; nudged cooler, #033A40.

Work with #043f2f in the Color Lab