Skip to content

#051513

a deep, vivid cyan · cool · closest name: Black

RGB
5, 21, 19
HSL
173°, 62%, 5%
CMYK
76, 0, 10, 92
Luminance
0.0062

At a glance

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

Hex
#051513
Hue
173°
cyan
Saturation
62%
vivid
Lightness
5%
deep
Brightness
8%
HSV value
Perceived
7%
weighted brightness
Luminance
0.0062
WCAG relative
Temperature
Cool
84/100 cool
Color family
Cyan
Tone
Vivid
Best ink
White
18.70:1
Closest name
Black
ΔE2000 7.8
Where it sits
Hue173° of 360°
Saturation62%
Lightness5%
Temperature
Warm ← → Cool84% 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#051513
RGBrgb(5, 21, 19)
HSLhsl(173, 62%, 5%)
CMYKcmyk(76%, 0%, 10%, 92%)
LABlab(5.6 -5.6 -0.6)
LCHlch(5.6 5.6 186.0)
OKLCHoklch(0.180 0.023 185.2)
Decimal333075
Display P3color(display-p3 0.020 0.082 0.075)

Copy-ready code

/* CSS */
color: #051513;
background-color: #051513;
/* Tailwind (arbitrary) */
class="text-[#051513] bg-[#051513]"
/* SCSS */
$brand: #051513;
/* SwiftUI */
Color(red: 0.020, green: 0.082, blue: 0.075)
/* Android */
Color.parseColor("#051513")
/* Flutter */
Color(0xFF051513)
/* Python / OpenCV (BGR) */
(19, 21, 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 #051513 · 18.70:1
Use #ffffffAAA at every size.
Aa
White text · 18.70:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.12:1
AA fail · AA large fail · AAA fail
Reading the other direction: #051513 as text scores 18.70:1 on white and 1.12:1 on black.

Accessibility — WCAG contrast

Aa
#051513 on white: 18.70:1
AA ✓ pass · AA-large · AAA
Aa
#051513 on black: 1.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #141313
deuteranopia · #111113
tritanopia · #011614

Color scale — 50 to 950

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

#F4FBFA
#E8F7F5
#CCF0EB
#A4E9E1
#77DFD2
#4AD4C3
#2FC6B3
#27A595
#1F8477
#1B6057
#051513
Base = 950Lightest = 50 · #F4FBFADarkest = 950 · #051513
:root {
  --brand-50: #F4FBFA;
  --brand-100: #E8F7F5;
  --brand-200: #CCF0EB;
  --brand-300: #A4E9E1;
  --brand-400: #77DFD2;
  --brand-500: #4AD4C3;
  --brand-600: #2FC6B3;
  --brand-700: #27A595;
  --brand-800: #1F8477;
  --brand-900: #1B6057;
  --brand-950: #051513;
  --brand: #051513;
  --brand-ink: #ffffff;
}

Colors that work with #051513

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#C0EDE7
Hairlines and dividers
Muted text#4B9B91
Captions on the surface
Accent#16040B
Second voice, not a rival
Dark variant#19675D
Hover, pressed, headers
Light variant#EAFAF8
Selected rows, tints
Dark surface#142422
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 #051513

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#150507
Analogous left#05150B
Analogous right#050F15
Split-complement 1#15050F
Split-complement 2#150B05
Triadic 1#130515
Triadic 2#151305
Tetradic#0B0515

RGB percentages

Red2.0%
Green8.2%
Blue7.5%

CMYK percentages

Cyan76.2%
Magenta0.0%
Yellow9.5%
Key (black)91.8%

Color previews

#051513 text on a black background

contrast 1.12:1

Card sample

#051513 text on a white background

contrast 18.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 21, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 21, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #051513;
background: linear-gradient(135deg, #051513, #050C15);

Monochromatic scale

Palettes built from #051513

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.

#051513 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.

#051513, answered

What color is #051513?

#051513 is a deep vivid cyan, closest to Black (ΔE2000 7.8). It sits at 173° on the hue wheel with 62% saturation and 5% lightness, which reads as cool.

What is the RGB value of #051513?

rgb(5, 21, 19) — 5 red, 21 green and 19 blue out of 255, or 2% / 8.2% / 7.5% by channel.

Is #051513 a light or a dark color?

It is a dark color. Relative luminance is 0.0062 and perceived brightness is 7%, so white text on it reaches 18.70:1.

Should I use black or white text on #051513?

White. It scores 18.70:1 against #051513, versus 1.12:1 for black — AAA at any size.

What is the complementary color of #051513?

#150507 sits directly opposite on the wheel. Softer options are the split-complements #15050F and #150B05, which give the same contrast with far less vibration.

What colors go well with #051513?

For interface work: #F4FAFA as the surface, #C0EDE7 for borders, #4B9B91 for secondary text, #16040B as an accent and #19675D for hover and pressed states. For a palette, the analogous pair #05150B and #050F15 stays calm, while #150507 is the loudest partner.

What is #051513 in CMYK for printing?

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

Is #051513 warm or cool?

Cool — it scores 84 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #05150D; nudged cooler, #051115.

Work with #051513 in the Color Lab