Skip to content

#151621

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

RGB
21, 22, 33
HSL
235°, 22%, 11%
CMYK
36, 33, 0, 87
Luminance
0.0084

At a glance

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

Hex
#151621
Hue
235°
blue
Saturation
22%
soft
Lightness
11%
deep
Brightness
13%
HSV value
Perceived
9%
weighted brightness
Luminance
0.0084
WCAG relative
Temperature
Cool
73/100 cool
Color family
Blue
Tone
Soft
Best ink
White
17.97:1
Closest name
Black
ΔE2000 8.7
Where it sits
Hue235° of 360°
Saturation22%
Lightness11%
Temperature
Warm ← → Cool73% 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#151621
RGBrgb(21, 22, 33)
HSLhsl(235, 22%, 11%)
CMYKcmyk(36%, 33%, 0%, 87%)
LABlab(7.6 2.8 -7.8)
LCHlch(7.6 8.3 289.9)
OKLCHoklch(0.205 0.022 280.2)
Decimal1381921
Display P3color(display-p3 0.082 0.086 0.129)

Copy-ready code

/* CSS */
color: #151621;
background-color: #151621;
/* Tailwind (arbitrary) */
class="text-[#151621] bg-[#151621]"
/* SCSS */
$brand: #151621;
/* SwiftUI */
Color(red: 0.082, green: 0.086, blue: 0.129)
/* Android */
Color.parseColor("#151621")
/* Flutter */
Color(0xFF151621)
/* Python / OpenCV (BGR) */
(33, 22, 21)

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

Accessibility — WCAG contrast

Aa
#151621 on white: 17.97:1
AA ✓ pass · AA-large · AAA
Aa
#151621 on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #131721
deuteranopia · #121621
tritanopia · #12181A

Color scale — 50 to 950

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

#F6F6F9
#EDEDF2
#D7D8E4
#BABDD3
#989BBE
#767AA8
#5F6496
#4F537D
#3F4364
#31334A
#151621
Base = 950Lightest = 50 · #F6F6F9Darkest = 950 · #151621
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EDEDF2;
  --brand-200: #D7D8E4;
  --brand-300: #BABDD3;
  --brand-400: #989BBE;
  --brand-500: #767AA8;
  --brand-600: #5F6496;
  --brand-700: #4F537D;
  --brand-800: #3F4364;
  --brand-900: #31334A;
  --brand-950: #151621;
  --brand: #151621;
  --brand-ink: #ffffff;
}

Colors that work with #151621

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#F6F6F9
Tinted page background
Border#CDCFDF
Hairlines and dividers
Muted text#595E8C
Captions on the surface
Accent#221D14
Second voice, not a rival
Dark variant#32344E
Hover, pressed, headers
Light variant#EFF0F5
Selected rows, tints
Dark surface#161722
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 #151621

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#212015
Analogous left#151C21
Analogous right#1A1521
Split-complement 1#211A15
Split-complement 2#1C2115
Triadic 1#211516
Triadic 2#162115
Tetradic#21151C

RGB percentages

Red8.2%
Green8.6%
Blue12.9%

CMYK percentages

Cyan36.4%
Magenta33.3%
Yellow0.0%
Key (black)87.1%

Color previews

#151621 text on a black background

contrast 1.17:1

Card sample

#151621 text on a white background

contrast 17.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(21, 22, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 22, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #151621;
background: linear-gradient(135deg, #151621, #1C1521);

Monochromatic scale

Palettes built from #151621

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.

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

#151621, answered

What color is #151621?

#151621 is a deep soft blue, closest to Black (ΔE2000 8.7). It sits at 235° on the hue wheel with 22% saturation and 11% lightness, which reads as cool.

What is the RGB value of #151621?

rgb(21, 22, 33) — 21 red, 22 green and 33 blue out of 255, or 8.2% / 8.6% / 12.9% by channel.

Is #151621 a light or a dark color?

It is a dark color. Relative luminance is 0.0084 and perceived brightness is 9%, so white text on it reaches 17.97:1.

Should I use black or white text on #151621?

White. It scores 17.97:1 against #151621, versus 1.17:1 for black — AAA at any size.

What is the complementary color of #151621?

#212015 sits directly opposite on the wheel. Softer options are the split-complements #211A15 and #1C2115, which give the same contrast with far less vibration.

What colors go well with #151621?

For interface work: #F6F6F9 as the surface, #CDCFDF for borders, #595E8C for secondary text, #221D14 as an accent and #32344E for hover and pressed states. For a palette, the analogous pair #151C21 and #1A1521 stays calm, while #212015 is the loudest partner.

What is #151621 in CMYK for printing?

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

Is #151621 warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #181521; nudged cooler, #141A22.

Work with #151621 in the Color Lab