Skip to content

#050b13

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

RGB
5, 11, 19
HSL
214°, 58%, 5%
CMYK
74, 42, 0, 93
Luminance
0.0032

At a glance

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

Hex
#050b13
Hue
214°
blue
Saturation
58%
vivid
Lightness
5%
deep
Brightness
7%
HSV value
Perceived
4%
weighted brightness
Luminance
0.0032
WCAG relative
Temperature
Cool
98/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
19.74:1
Closest name
Black
ΔE2000 4.4
Where it sits
Hue214° of 360°
Saturation58%
Lightness5%
Temperature
Warm ← → Cool98% 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#050b13
RGBrgb(5, 11, 19)
HSLhsl(214, 58%, 5%)
CMYKcmyk(74%, 42%, 0%, 93%)
LABlab(2.9 -0.1 -4.5)
LCHlch(2.9 4.5 268.3)
OKLCHoklch(0.147 0.021 252.4)
Decimal330515
Display P3color(display-p3 0.020 0.043 0.075)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#050b13 on white: 19.74:1
AA ✓ pass · AA-large · AAA
Aa
#050b13 on black: 1.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #080B13
deuteranopia · #060A13
tritanopia · #020D0E

Color scale — 50 to 950

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

#F4F7FB
#E9EFF7
#CDDBEF
#A6C2E8
#7AA4DC
#4D85D0
#3370C2
#2B5DA1
#224B81
#1C385E
#050b13
Base = 950Lightest = 50 · #F4F7FBDarkest = 950 · #050b13
:root {
  --brand-50: #F4F7FB;
  --brand-100: #E9EFF7;
  --brand-200: #CDDBEF;
  --brand-300: #A6C2E8;
  --brand-400: #7AA4DC;
  --brand-500: #4D85D0;
  --brand-600: #3370C2;
  --brand-700: #2B5DA1;
  --brand-800: #224B81;
  --brand-900: #1C385E;
  --brand-950: #050b13;
  --brand: #050b13;
  --brand-ink: #ffffff;
}

Colors that work with #050b13

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#F4F7FA
Tinted page background
Border#C0D3ED
Hairlines and dividers
Muted text#4B6D9B
Captions on the surface
Accent#130905
Second voice, not a rival
Dark variant#1B3A65
Hover, pressed, headers
Light variant#EBF1FA
Selected rows, tints
Dark surface#141B24
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 #050b13

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
  • 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#130D05
Analogous left#051213
Analogous right#060513
Split-complement 1#130605
Split-complement 2#121305
Triadic 1#13050B
Triadic 2#0B1305
Tetradic#130512

RGB percentages

Red2.0%
Green4.3%
Blue7.5%

CMYK percentages

Cyan73.7%
Magenta42.1%
Yellow0.0%
Key (black)92.5%

Color previews

#050b13 text on a black background

contrast 1.06:1

Card sample

#050b13 text on a white background

contrast 19.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #050b13

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.

#050b13 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#050b13, answered

What color is #050b13?

#050b13 is a deep vivid blue, closest to Black (ΔE2000 4.4). It sits at 214° on the hue wheel with 58% saturation and 5% lightness, which reads as cool.

What is the RGB value of #050b13?

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

Is #050b13 a light or a dark color?

It is a dark color. Relative luminance is 0.0032 and perceived brightness is 4%, so white text on it reaches 19.74:1.

Should I use black or white text on #050b13?

White. It scores 19.74:1 against #050b13, versus 1.06:1 for black — AAA at any size.

What is the complementary color of #050b13?

#130D05 sits directly opposite on the wheel. Softer options are the split-complements #130605 and #121305, which give the same contrast with far less vibration.

What colors go well with #050b13?

For interface work: #F4F7FA as the surface, #C0D3ED for borders, #4B6D9B for secondary text, #130905 as an accent and #1B3A65 for hover and pressed states. For a palette, the analogous pair #051213 and #060513 stays calm, while #130D05 is the loudest partner.

What is #050b13 in CMYK for printing?

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

Is #050b13 warm or cool?

Cool — it scores 98 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #050613; nudged cooler, #03070C.

Work with #050b13 in the Color Lab