Skip to content

#024d52

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

RGB
2, 77, 82
HSL
184°, 95%, 17%
CMYK
98, 6, 0, 68
Luminance
0.0593

At a glance

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

Hex
#024d52
Hue
184°
cyan
Saturation
95%
electric
Lightness
17%
deep
Brightness
32%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0593
WCAG relative
Temperature
Cool
89/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
9.61:1
Closest name
Dark Slate Gray
ΔE2000 5.6
Where it sits
Hue184° of 360°
Saturation95%
Lightness17%
Temperature
Warm ← → Cool89% 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#024d52
RGBrgb(2, 77, 82)
HSLhsl(184, 95%, 17%)
CMYKcmyk(98%, 6%, 0%, 68%)
LABlab(29.2 -18.2 -8.8)
LCHlch(29.2 20.2 205.9)
OKLCHoklch(0.383 0.064 202.4)
Decimal150866
Display P3color(display-p3 0.008 0.302 0.322)

Copy-ready code

/* CSS */
color: #024d52;
background-color: #024d52;
/* Tailwind (arbitrary) */
class="text-[#024d52] bg-[#024d52]"
/* SCSS */
$brand: #024d52;
/* SwiftUI */
Color(red: 0.008, green: 0.302, blue: 0.322)
/* Android */
Color.parseColor("#024d52")
/* Flutter */
Color(0xFF024D52)
/* Python / OpenCV (BGR) */
(82, 77, 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 #024d52 · 9.61:1
Use #ffffffAAA at every size.
Aa
White text · 9.61:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.19:1
AA fail · AA large fail · AAA fail
Reading the other direction: #024d52 as text scores 9.61:1 on white and 2.19:1 on black.

Accessibility — WCAG contrast

Aa
#024d52 on white: 9.61:1
AA ✓ pass · AA-large · AAA
Aa
#024d52 on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #464952
deuteranopia · #3C4252
tritanopia · #00514E

Color scale — 50 to 950

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

#F1FDFD
#E4FAFC
#C2F7FA
#91F6FC
#5BF1FB
#24ECFA
#06E0EF
#05BBC7
#04959F
#086C73
#024d52
Base = 950Lightest = 50 · #F1FDFDDarkest = 950 · #024d52
:root {
  --brand-50: #F1FDFD;
  --brand-100: #E4FAFC;
  --brand-200: #C2F7FA;
  --brand-300: #91F6FC;
  --brand-400: #5BF1FB;
  --brand-500: #24ECFA;
  --brand-600: #06E0EF;
  --brand-700: #05BBC7;
  --brand-800: #04959F;
  --brand-900: #086C73;
  --brand-950: #024d52;
  --brand: #024d52;
  --brand-ink: #ffffff;
}

Colors that work with #024d52

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#C0EAED
Hairlines and dividers
Muted text#4B969B
Captions on the surface
Accent#540010
Second voice, not a rival
Dark variant#03757C
Hover, pressed, headers
Light variant#E6FDFE
Selected rows, tints
Dark surface#142324
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 #024d52

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#520702
Analogous left#02522F
Analogous right#022552
Split-complement 1#520225
Split-complement 2#522F02
Triadic 1#52024D
Triadic 2#4D5202
Tetradic#2F0252

RGB percentages

Red0.8%
Green30.2%
Blue32.2%

CMYK percentages

Cyan97.6%
Magenta6.1%
Yellow0.0%
Key (black)67.8%

Color previews

#024d52 text on a black background

contrast 2.19:1

Card sample

#024d52 text on a white background

contrast 9.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #024d52;
Background color
Panel with #024d52 background
background-color: #024d52;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #024d52;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 77, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 77, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #024d52;
background: linear-gradient(135deg, #024d52, #021852);

Monochromatic scale

Palettes built from #024d52

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.

#024d52 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.

#024d52, answered

What color is #024d52?

#024d52 is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 5.6). It sits at 184° on the hue wheel with 95% saturation and 17% lightness, which reads as cool.

What is the RGB value of #024d52?

rgb(2, 77, 82) — 2 red, 77 green and 82 blue out of 255, or 0.8% / 30.2% / 32.2% by channel.

Is #024d52 a light or a dark color?

It is a dark color. Relative luminance is 0.0593 and perceived brightness is 26%, so white text on it reaches 9.61:1.

Should I use black or white text on #024d52?

White. It scores 9.61:1 against #024d52, versus 2.19:1 for black — AAA at any size.

What is the complementary color of #024d52?

#520702 sits directly opposite on the wheel. Softer options are the split-complements #520225 and #522F02, which give the same contrast with far less vibration.

What colors go well with #024d52?

For interface work: #F4FAFA as the surface, #C0EAED for borders, #4B969B for secondary text, #540010 as an accent and #03757C for hover and pressed states. For a palette, the analogous pair #02522F and #022552 stays calm, while #520702 is the loudest partner.

What is #024d52 in CMYK for printing?

cmyk(98%, 6%, 0%, 68%). 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 #024d52 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #02523A; nudged cooler, #013353.

Work with #024d52 in the Color Lab