Skip to content

#0f092d

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

RGB
15, 9, 45
HSL
250°, 67%, 11%
CMYK
67, 80, 0, 82
Luminance
0.0049

Every format

HEX#0f092d
RGBrgb(15, 9, 45)
HSLhsl(250, 67%, 11%)
CMYKcmyk(67%, 80%, 0%, 82%)
LABlab(4.4 12.5 -21.9)
LCHlch(4.4 25.3 299.7)
OKLCHoklch(0.176 0.069 284.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green3.5%
Blue17.6%

CMYK percentages

Cyan66.7%
Magenta80.0%
Yellow0.0%
Key (black)82.4%

Color previews

#0f092d text on a black background

contrast 1.10:1

Card sample

#0f092d text on a white background

contrast 19.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 9, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 9, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f092d;
background: linear-gradient(135deg, #0f092d, #27092D);

Monochromatic scale

Palettes built from #0f092d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f092d in the Color Lab