Skip to content

#0f0f1b

a deep, soft blue · warm · closest name: black

RGB
15, 15, 27
HSL
240°, 29%, 8%
CMYK
44, 44, 0, 89
Luminance
0.0052

Every format

HEX#0f0f1b
RGBrgb(15, 15, 27)
HSLhsl(240, 29%, 8%)
CMYKcmyk(44%, 44%, 0%, 89%)
LABlab(4.7 2.8 -7.6)
LCHlch(4.7 8.1 290.4)
OKLCHoklch(0.175 0.025 283.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f0f1b on white: 19.01:1
AA ✓ pass · AA-large · AAA
Aa
#0f0f1b on black: 1.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green5.9%
Blue10.6%

CMYK percentages

Cyan44.4%
Magenta44.4%
Yellow0.0%
Key (black)89.4%

Color previews

#0f0f1b text on a black background

contrast 1.10:1

Card sample

#0f0f1b text on a white background

contrast 19.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 15, 27, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 15, 27, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f0f1b;
background: linear-gradient(135deg, #0f0f1b, #170F1B);

Monochromatic scale

Palettes built from #0f0f1b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f0f1b in the Color Lab