Skip to content

#151c2c

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

RGB
21, 28, 44
HSL
222°, 35%, 13%
CMYK
52, 36, 0, 83
Luminance
0.0117

At a glance

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

Hex
#151c2c
Hue
222°
blue
Saturation
35%
soft
Lightness
13%
deep
Brightness
17%
HSV value
Perceived
11%
weighted brightness
Luminance
0.0117
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Soft
Best ink
White
17.01:1
Closest name
Black
ΔE2000 11.4
Where it sits
Hue222° of 360°
Saturation35%
Lightness13%
Temperature
Warm ← → Cool93% 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#151c2c
RGBrgb(21, 28, 44)
HSLhsl(222, 35%, 13%)
CMYKcmyk(52%, 36%, 0%, 83%)
LABlab(10.3 2.2 -11.8)
LCHlch(10.3 12.0 280.5)
OKLCHoklch(0.228 0.033 265.7)
Decimal1383468
Display P3color(display-p3 0.082 0.110 0.173)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#151c2c on white: 17.01:1
AA ✓ pass · AA-large · AAA
Aa
#151c2c on black: 1.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #161D2D
deuteranopia · #141B2C
tritanopia · #0D1F22

Color scale — 50 to 950

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

#F5F7F9
#EBEEF4
#D4DAE8
#B3BFDB
#8D9FC9
#677FB7
#4F6AA6
#42588A
#35466E
#293551
#151c2c
Base = 950Lightest = 50 · #F5F7F9Darkest = 950 · #151c2c
:root {
  --brand-50: #F5F7F9;
  --brand-100: #EBEEF4;
  --brand-200: #D4DAE8;
  --brand-300: #B3BFDB;
  --brand-400: #8D9FC9;
  --brand-500: #677FB7;
  --brand-600: #4F6AA6;
  --brand-700: #42588A;
  --brand-800: #35466E;
  --brand-900: #293551;
  --brand-950: #151c2c;
  --brand: #151c2c;
  --brand-ink: #ffffff;
}

Colors that work with #151c2c

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#F5F6FA
Tinted page background
Border#C8D1E5
Hairlines and dividers
Muted text#4B639B
Captions on the surface
Accent#2D1F14
Second voice, not a rival
Dark variant#293756
Hover, pressed, headers
Light variant#EEF0F7
Selected rows, tints
Dark surface#141924
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 #151c2c

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#2C2515
Analogous left#15272C
Analogous right#19152C
Split-complement 1#2C1915
Split-complement 2#272C15
Triadic 1#2C151C
Triadic 2#1C2C15
Tetradic#2C1527

RGB percentages

Red8.2%
Green11.0%
Blue17.3%

CMYK percentages

Cyan52.3%
Magenta36.4%
Yellow0.0%
Key (black)82.7%

Color previews

#151c2c text on a black background

contrast 1.23:1

Card sample

#151c2c text on a white background

contrast 17.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(21, 28, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(21, 28, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #151c2c;
background: linear-gradient(135deg, #151c2c, #1D152C);

Monochromatic scale

Palettes built from #151c2c

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.

#151c2c 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.

#151c2c, answered

What color is #151c2c?

#151c2c is a deep soft blue, closest to Black (ΔE2000 11.4). It sits at 222° on the hue wheel with 35% saturation and 13% lightness, which reads as cool.

What is the RGB value of #151c2c?

rgb(21, 28, 44) — 21 red, 28 green and 44 blue out of 255, or 8.2% / 11% / 17.3% by channel.

Is #151c2c a light or a dark color?

It is a dark color. Relative luminance is 0.0117 and perceived brightness is 11%, so white text on it reaches 17.01:1.

Should I use black or white text on #151c2c?

White. It scores 17.01:1 against #151c2c, versus 1.23:1 for black — AAA at any size.

What is the complementary color of #151c2c?

#2C2515 sits directly opposite on the wheel. Softer options are the split-complements #2C1915 and #272C15, which give the same contrast with far less vibration.

What colors go well with #151c2c?

For interface work: #F5F6FA as the surface, #C8D1E5 for borders, #4B639B for secondary text, #2D1F14 as an accent and #293756 for hover and pressed states. For a palette, the analogous pair #15272C and #19152C stays calm, while #2C2515 is the loudest partner.

What is #151c2c in CMYK for printing?

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

Is #151c2c warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #16152C; nudged cooler, #141F2C.

Work with #151c2c in the Color Lab