Skip to content

#072f2d

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

RGB
7, 47, 45
HSL
177°, 74%, 11%
CMYK
85, 0, 4, 82
Luminance
0.0227

At a glance

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

Hex
#072f2d
Hue
177°
cyan
Saturation
74%
vivid
Lightness
11%
deep
Brightness
18%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0227
WCAG relative
Temperature
Cool
86/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
14.45:1
Closest name
Dark Slate Gray
ΔE2000 10.6
Where it sits
Hue177° of 360°
Saturation74%
Lightness11%
Temperature
Warm ← → Cool86% 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#072f2d
RGBrgb(7, 47, 45)
HSLhsl(177, 74%, 11%)
CMYKcmyk(85%, 0%, 4%, 82%)
LABlab(16.8 -14.0 -2.7)
LCHlch(16.8 14.2 190.9)
OKLCHoklch(0.278 0.043 190.1)
Decimal470829
Display P3color(display-p3 0.027 0.184 0.176)

Copy-ready code

/* CSS */
color: #072f2d;
background-color: #072f2d;
/* Tailwind (arbitrary) */
class="text-[#072f2d] bg-[#072f2d]"
/* SCSS */
$brand: #072f2d;
/* SwiftUI */
Color(red: 0.027, green: 0.184, blue: 0.176)
/* Android */
Color.parseColor("#072f2d")
/* Flutter */
Color(0xFF072F2D)
/* Python / OpenCV (BGR) */
(45, 47, 7)

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

Accessibility — WCAG contrast

Aa
#072f2d on white: 14.45:1
AA ✓ pass · AA-large · AAA
Aa
#072f2d on black: 1.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2C2C2D
deuteranopia · #26282D
tritanopia · #00312E

Color scale — 50 to 950

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

#F3FCFB
#E7F9F8
#C8F3F1
#9DF0EC
#6CE9E3
#3CE2DA
#20D5CC
#1AB2AA
#158E88
#136763
#072f2d
Base = 950Lightest = 50 · #F3FCFBDarkest = 950 · #072f2d
:root {
  --brand-50: #F3FCFB;
  --brand-100: #E7F9F8;
  --brand-200: #C8F3F1;
  --brand-300: #9DF0EC;
  --brand-400: #6CE9E3;
  --brand-500: #3CE2DA;
  --brand-600: #20D5CC;
  --brand-700: #1AB2AA;
  --brand-800: #158E88;
  --brand-900: #136763;
  --brand-950: #072f2d;
  --brand: #072f2d;
  --brand-ink: #ffffff;
}

Colors that work with #072f2d

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#C0EDEA
Hairlines and dividers
Muted text#4B9B97
Captions on the surface
Accent#300613
Second voice, not a rival
Dark variant#116F6A
Hover, pressed, headers
Light variant#E9FCFB
Selected rows, tints
Dark surface#142424
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 #072f2d

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#2F0709
Analogous left#072F19
Analogous right#071D2F
Split-complement 1#2F071D
Split-complement 2#2F1907
Triadic 1#2D072F
Triadic 2#2F2D07
Tetradic#19072F

RGB percentages

Red2.7%
Green18.4%
Blue17.6%

CMYK percentages

Cyan85.1%
Magenta0.0%
Yellow4.3%
Key (black)81.6%

Color previews

#072f2d text on a black background

contrast 1.45:1

Card sample

#072f2d text on a white background

contrast 14.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #072f2d;
Background color
Panel with #072f2d background
background-color: #072f2d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #072f2d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(7, 47, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 47, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #072f2d;
background: linear-gradient(135deg, #072f2d, #07162F);

Monochromatic scale

Palettes built from #072f2d

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.

#072f2d 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

Converts to four-color process without much drama. Proof it anyway.

#072f2d, answered

What color is #072f2d?

#072f2d is a deep vivid cyan, closest to Dark Slate Gray (ΔE2000 10.6). It sits at 177° on the hue wheel with 74% saturation and 11% lightness, which reads as cool.

What is the RGB value of #072f2d?

rgb(7, 47, 45) — 7 red, 47 green and 45 blue out of 255, or 2.7% / 18.4% / 17.6% by channel.

Is #072f2d a light or a dark color?

It is a dark color. Relative luminance is 0.0227 and perceived brightness is 15%, so white text on it reaches 14.45:1.

Should I use black or white text on #072f2d?

White. It scores 14.45:1 against #072f2d, versus 1.45:1 for black — AAA at any size.

What is the complementary color of #072f2d?

#2F0709 sits directly opposite on the wheel. Softer options are the split-complements #2F071D and #2F1907, which give the same contrast with far less vibration.

What colors go well with #072f2d?

For interface work: #F4FAFA as the surface, #C0EDEA for borders, #4B9B97 for secondary text, #300613 as an accent and #116F6A for hover and pressed states. For a palette, the analogous pair #072F19 and #071D2F stays calm, while #2F0709 is the loudest partner.

What is #072f2d in CMYK for printing?

cmyk(85%, 0%, 4%, 82%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #072f2d warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #072F1E; nudged cooler, #062330.

Work with #072f2d in the Color Lab