Skip to content

#0b2821

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

RGB
11, 40, 33
HSL
166°, 57%, 10%
CMYK
73, 0, 18, 84
Luminance
0.0170

Every format

HEX#0b2821
RGBrgb(11, 40, 33)
HSLhsl(166, 57%, 10%)
CMYKcmyk(73%, 0%, 18%, 84%)
LABlab(13.8 -13.0 1.4)
LCHlch(13.8 13.1 174.0)
OKLCHoklch(0.252 0.037 174.7)

Copy-ready code

/* CSS */
color: #0b2821;
background-color: #0b2821;
/* Tailwind (arbitrary) */
class="text-[#0b2821] bg-[#0b2821]"
/* SCSS */
$brand: #0b2821;
/* SwiftUI */
Color(red: 0.043, green: 0.157, blue: 0.129)
/* Android */
Color.parseColor("#0b2821")

Accessibility — WCAG contrast

Aa
#0b2821 on white: 15.68:1
AA ✓ pass · AA-large · AAA
Aa
#0b2821 on black: 1.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green15.7%
Blue12.9%

CMYK percentages

Cyan72.5%
Magenta0.0%
Yellow17.5%
Key (black)84.3%

Color previews

#0b2821 text on a black background

contrast 1.34:1

Card sample

#0b2821 text on a white background

contrast 15.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 40, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 40, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2821;
background: linear-gradient(135deg, #0b2821, #0B1C28);

Monochromatic scale

Palettes built from #0b2821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b2821 in the Color Lab