Skip to content

#0f404d

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

RGB
15, 64, 77
HSL
193°, 67%, 18%
CMYK
81, 17, 0, 70
Luminance
0.0430

Every format

HEX#0f404d
RGBrgb(15, 64, 77)
HSLhsl(193, 67%, 18%)
CMYKcmyk(81%, 17%, 0%, 70%)
LABlab(24.6 -11.0 -12.5)
LCHlch(24.6 16.6 228.8)
OKLCHoklch(0.346 0.055 219.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f404d on white: 11.29:1
AA ✓ pass · AA-large · AAA
Aa
#0f404d on black: 1.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green25.1%
Blue30.2%

CMYK percentages

Cyan80.5%
Magenta16.9%
Yellow0.0%
Key (black)69.8%

Color previews

#0f404d text on a black background

contrast 1.86:1

Card sample

#0f404d text on a white background

contrast 11.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f404d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f404d in the Color Lab