Skip to content

#0f2d2d

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

RGB
15, 45, 45
HSL
180°, 50%, 12%
CMYK
67, 0, 0, 82
Luminance
0.0217

At a glance

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

Hex
#0f2d2d
Hue
180°
cyan
Saturation
50%
vivid
Lightness
12%
deep
Brightness
18%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0217
WCAG relative
Temperature
Cool
88/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
14.65:1
Closest name
Dark Slate Gray
ΔE2000 10.8
Where it sits
Hue180° of 360°
Saturation50%
Lightness12%
Temperature
Warm ← → Cool88% 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#0f2d2d
RGBrgb(15, 45, 45)
HSLhsl(180, 50%, 12%)
CMYKcmyk(67%, 0%, 0%, 82%)
LABlab(16.3 -11.0 -3.4)
LCHlch(16.3 11.5 197.0)
OKLCHoklch(0.275 0.035 195.3)
Decimal994605
Display P3color(display-p3 0.059 0.176 0.176)

Copy-ready code

/* CSS */
color: #0f2d2d;
background-color: #0f2d2d;
/* Tailwind (arbitrary) */
class="text-[#0f2d2d] bg-[#0f2d2d]"
/* SCSS */
$brand: #0f2d2d;
/* SwiftUI */
Color(red: 0.059, green: 0.176, blue: 0.176)
/* Android */
Color.parseColor("#0f2d2d")
/* Flutter */
Color(0xFF0F2D2D)
/* Python / OpenCV (BGR) */
(45, 45, 15)

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

Accessibility — WCAG contrast

Aa
#0f2d2d on white: 14.65:1
AA ✓ pass · AA-large · AAA
Aa
#0f2d2d on black: 1.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A2B2D
deuteranopia · #25272D
tritanopia · #002F2D

Color scale — 50 to 950

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

#F4FAFA
#EAF6F6
#CFECEC
#ABE3E3
#81D5D5
#57C7C7
#3DB8B8
#339999
#297A7A
#215959
#0f2d2d
Base = 950Lightest = 50 · #F4FAFADarkest = 950 · #0f2d2d
:root {
  --brand-50: #F4FAFA;
  --brand-100: #EAF6F6;
  --brand-200: #CFECEC;
  --brand-300: #ABE3E3;
  --brand-400: #81D5D5;
  --brand-500: #57C7C7;
  --brand-600: #3DB8B8;
  --brand-700: #339999;
  --brand-800: #297A7A;
  --brand-900: #215959;
  --brand-950: #0f2d2d;
  --brand: #0f2d2d;
  --brand-ink: #ffffff;
}

Colors that work with #0f2d2d

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#C2EBEB
Hairlines and dividers
Muted text#4B9B9B
Captions on the surface
Accent#2E0E16
Second voice, not a rival
Dark variant#206060
Hover, pressed, headers
Light variant#ECF9F9
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 #0f2d2d

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#2D0F0F
Analogous left#0F2D1E
Analogous right#0F1E2D
Split-complement 1#2D0F1E
Split-complement 2#2D1E0F
Triadic 1#2D0F2D
Triadic 2#2D2D0F
Tetradic#1E0F2D

RGB percentages

Red5.9%
Green17.6%
Blue17.6%

CMYK percentages

Cyan66.7%
Magenta0.0%
Yellow0.0%
Key (black)82.4%

Color previews

#0f2d2d text on a black background

contrast 1.43:1

Card sample

#0f2d2d text on a white background

contrast 14.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0f2d2d;
Background color
Panel with #0f2d2d background
background-color: #0f2d2d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0f2d2d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(15, 45, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 45, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f2d2d;
background: linear-gradient(135deg, #0f2d2d, #0F192D);

Monochromatic scale

Palettes built from #0f2d2d

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.

#0f2d2d 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.

#0f2d2d, answered

What color is #0f2d2d?

#0f2d2d is a deep vivid cyan, closest to Dark Slate Gray (ΔE2000 10.8). It sits at 180° on the hue wheel with 50% saturation and 12% lightness, which reads as cool.

What is the RGB value of #0f2d2d?

rgb(15, 45, 45) — 15 red, 45 green and 45 blue out of 255, or 5.9% / 17.6% / 17.6% by channel.

Is #0f2d2d a light or a dark color?

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

Should I use black or white text on #0f2d2d?

White. It scores 14.65:1 against #0f2d2d, versus 1.43:1 for black — AAA at any size.

What is the complementary color of #0f2d2d?

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

What colors go well with #0f2d2d?

For interface work: #F4FAFA as the surface, #C2EBEB for borders, #4B9B9B for secondary text, #2E0E16 as an accent and #206060 for hover and pressed states. For a palette, the analogous pair #0F2D1E and #0F1E2D stays calm, while #2D0F0F is the loudest partner.

What is #0f2d2d in CMYK for printing?

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

Is #0f2d2d warm or cool?

Cool — it scores 88 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0F2D22; nudged cooler, #0E222E.

Work with #0f2d2d in the Color Lab