Skip to content

#02452f

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

RGB
2, 69, 47
HSL
160°, 94%, 14%
CMYK
97, 0, 32, 73
Luminance
0.0447

At a glance

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

Hex
#02452f
Hue
160°
cyan
Saturation
94%
electric
Lightness
14%
deep
Brightness
27%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0447
WCAG relative
Temperature
Cool
79/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
11.08:1
Closest name
Dark Slate Gray
ΔE2000 12.7
Where it sits
Hue160° of 360°
Saturation94%
Lightness14%
Temperature
Warm ← → Cool79% 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#02452f
RGBrgb(2, 69, 47)
HSLhsl(160, 94%, 14%)
CMYKcmyk(97%, 0%, 32%, 73%)
LABlab(25.2 -25.6 8.0)
LCHlch(25.2 26.8 162.7)
OKLCHoklch(0.346 0.073 163.9)
Decimal148783
Display P3color(display-p3 0.008 0.271 0.184)

Copy-ready code

/* CSS */
color: #02452f;
background-color: #02452f;
/* Tailwind (arbitrary) */
class="text-[#02452f] bg-[#02452f]"
/* SCSS */
$brand: #02452f;
/* SwiftUI */
Color(red: 0.008, green: 0.271, blue: 0.184)
/* Android */
Color.parseColor("#02452f")
/* Flutter */
Color(0xFF02452F)
/* Python / OpenCV (BGR) */
(47, 69, 2)

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

Accessibility — WCAG contrast

Aa
#02452f on white: 11.08:1
AA ✓ pass · AA-large · AAA
Aa
#02452f on black: 1.89:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #433F2E
deuteranopia · #3C3930
tritanopia · #00453F

Color scale — 50 to 950

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

#F2FDF9
#E4FBF4
#C2FAE7
#92FCD9
#5BFAC6
#25F9B3
#07EEA2
#06C687
#059F6C
#08724F
#02452f
Base = 950Lightest = 50 · #F2FDF9Darkest = 950 · #02452f
:root {
  --brand-50: #F2FDF9;
  --brand-100: #E4FBF4;
  --brand-200: #C2FAE7;
  --brand-300: #92FCD9;
  --brand-400: #5BFAC6;
  --brand-500: #25F9B3;
  --brand-600: #07EEA2;
  --brand-700: #06C687;
  --brand-800: #059F6C;
  --brand-900: #08724F;
  --brand-950: #02452f;
  --brand: #02452f;
  --brand-ink: #ffffff;
}

Colors that work with #02452f

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#F4FAF8
Tinted page background
Border#C0EDDE
Hairlines and dividers
Muted text#4B9B81
Captions on the surface
Accent#460129
Second voice, not a rival
Dark variant#047C54
Hover, pressed, headers
Light variant#E6FEF6
Selected rows, tints
Dark surface#14241F
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 #02452f

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#450218
Analogous left#02450D
Analogous right#023945
Split-complement 1#450239
Split-complement 2#450D02
Triadic 1#2F0245
Triadic 2#452F02
Tetradic#0D0245

RGB percentages

Red0.8%
Green27.1%
Blue18.4%

CMYK percentages

Cyan97.1%
Magenta0.0%
Yellow31.9%
Key (black)72.9%

Color previews

#02452f text on a black background

contrast 1.89:1

Card sample

#02452f text on a white background

contrast 11.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #02452f;
Background color
Panel with #02452f background
background-color: #02452f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #02452f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 69, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 69, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #02452f;
background: linear-gradient(135deg, #02452f, #022E45);

Monochromatic scale

Palettes built from #02452f

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.

#02452f 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.

#02452f, answered

What color is #02452f?

#02452f is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 12.7). It sits at 160° on the hue wheel with 94% saturation and 14% lightness, which reads as cool.

What is the RGB value of #02452f?

rgb(2, 69, 47) — 2 red, 69 green and 47 blue out of 255, or 0.8% / 27.1% / 18.4% by channel.

Is #02452f a light or a dark color?

It is a dark color. Relative luminance is 0.0447 and perceived brightness is 22%, so white text on it reaches 11.08:1.

Should I use black or white text on #02452f?

White. It scores 11.08:1 against #02452f, versus 1.89:1 for black — AAA at any size.

What is the complementary color of #02452f?

#450218 sits directly opposite on the wheel. Softer options are the split-complements #450239 and #450D02, which give the same contrast with far less vibration.

What colors go well with #02452f?

For interface work: #F4FAF8 as the surface, #C0EDDE for borders, #4B9B81 for secondary text, #460129 as an accent and #047C54 for hover and pressed states. For a palette, the analogous pair #02450D and #023945 stays calm, while #450218 is the loudest partner.

What is #02452f in CMYK for printing?

cmyk(97%, 0%, 32%, 73%). 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 #02452f warm or cool?

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

Work with #02452f in the Color Lab