Skip to content

#05282d

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

RGB
5, 40, 45
HSL
188°, 80%, 10%
CMYK
89, 11, 0, 82
Luminance
0.0174

At a glance

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

Hex
#05282d
Hue
188°
cyan
Saturation
80%
electric
Lightness
10%
deep
Brightness
18%
HSV value
Perceived
13%
weighted brightness
Luminance
0.0174
WCAG relative
Temperature
Cool
91/100 cool
Color family
Cyan
Tone
Electric
Best ink
White
15.58:1
Closest name
Dark Slate Gray
ΔE2000 12.6
Where it sits
Hue188° of 360°
Saturation80%
Lightness10%
Temperature
Warm ← → Cool91% 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#05282d
RGBrgb(5, 40, 45)
HSLhsl(188, 80%, 10%)
CMYKcmyk(89%, 11%, 0%, 82%)
LABlab(14.1 -10.1 -6.9)
LCHlch(14.1 12.2 214.1)
OKLCHoklch(0.255 0.040 208.8)
Decimal337965
Display P3color(display-p3 0.020 0.157 0.176)

Copy-ready code

/* CSS */
color: #05282d;
background-color: #05282d;
/* Tailwind (arbitrary) */
class="text-[#05282d] bg-[#05282d]"
/* SCSS */
$brand: #05282d;
/* SwiftUI */
Color(red: 0.020, green: 0.157, blue: 0.176)
/* Android */
Color.parseColor("#05282d")
/* Flutter */
Color(0xFF05282D)
/* Python / OpenCV (BGR) */
(45, 40, 5)

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

Accessibility — WCAG contrast

Aa
#05282d on white: 15.58:1
AA ✓ pass · AA-large · AAA
Aa
#05282d on black: 1.35:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #23262D
deuteranopia · #1E222D
tritanopia · #002A29

Color scale — 50 to 950

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

#F3FBFC
#E6F7F9
#C7EFF5
#9AE9F4
#68DDEE
#35D2E9
#18C4DC
#14A3B8
#108393
#105F6A
#05282d
Base = 950Lightest = 50 · #F3FBFCDarkest = 950 · #05282d
:root {
  --brand-50: #F3FBFC;
  --brand-100: #E6F7F9;
  --brand-200: #C7EFF5;
  --brand-300: #9AE9F4;
  --brand-400: #68DDEE;
  --brand-500: #35D2E9;
  --brand-600: #18C4DC;
  --brand-700: #14A3B8;
  --brand-800: #108393;
  --brand-900: #105F6A;
  --brand-950: #05282d;
  --brand: #05282d;
  --brand-ink: #ffffff;
}

Colors that work with #05282d

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#C0E7ED
Hairlines and dividers
Muted text#4B919B
Captions on the surface
Accent#2E0409
Second voice, not a rival
Dark variant#0D6673
Hover, pressed, headers
Light variant#E8FAFC
Selected rows, tints
Dark surface#142224
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 #05282d

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#2D0A05
Analogous left#052D1E
Analogous right#05142D
Split-complement 1#2D0514
Split-complement 2#2D1E05
Triadic 1#2D0528
Triadic 2#282D05
Tetradic#1E052D

RGB percentages

Red2.0%
Green15.7%
Blue17.6%

CMYK percentages

Cyan88.9%
Magenta11.1%
Yellow0.0%
Key (black)82.4%

Color previews

#05282d text on a black background

contrast 1.35:1

Card sample

#05282d text on a white background

contrast 15.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #05282d;
Background color
Panel with #05282d background
background-color: #05282d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #05282d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(5, 40, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 40, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #05282d;
background: linear-gradient(135deg, #05282d, #050D2D);

Monochromatic scale

Palettes built from #05282d

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.

#05282d 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.

#05282d, answered

What color is #05282d?

#05282d is a deep electric cyan, closest to Dark Slate Gray (ΔE2000 12.6). It sits at 188° on the hue wheel with 80% saturation and 10% lightness, which reads as cool.

What is the RGB value of #05282d?

rgb(5, 40, 45) — 5 red, 40 green and 45 blue out of 255, or 2% / 15.7% / 17.6% by channel.

Is #05282d a light or a dark color?

It is a dark color. Relative luminance is 0.0174 and perceived brightness is 13%, so white text on it reaches 15.58:1.

Should I use black or white text on #05282d?

White. It scores 15.58:1 against #05282d, versus 1.35:1 for black — AAA at any size.

What is the complementary color of #05282d?

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

What colors go well with #05282d?

For interface work: #F4FAFA as the surface, #C0E7ED for borders, #4B919B for secondary text, #2E0409 as an accent and #0D6673 for hover and pressed states. For a palette, the analogous pair #052D1E and #05142D stays calm, while #2D0A05 is the loudest partner.

What is #05282d in CMYK for printing?

cmyk(89%, 11%, 0%, 82%). 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 #05282d warm or cool?

Cool — it scores 91 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #052D23; nudged cooler, #041B2D.

Work with #05282d in the Color Lab