Skip to content

#0f2e3d

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

RGB
15, 46, 61
HSL
200°, 61%, 15%
CMYK
75, 25, 0, 76
Luminance
0.0239

Every format

HEX#0f2e3d
RGBrgb(15, 46, 61)
HSLhsl(200, 61%, 15%)
CMYKcmyk(75%, 25%, 0%, 76%)
LABlab(17.4 -5.7 -12.9)
LCHlch(17.4 14.1 246.3)
OKLCHoklch(0.286 0.045 232.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2e3d on white: 14.20:1
AA ✓ pass · AA-large · AAA
Aa
#0f2e3d on black: 1.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green18.0%
Blue23.9%

CMYK percentages

Cyan75.4%
Magenta24.6%
Yellow0.0%
Key (black)76.1%

Color previews

#0f2e3d text on a black background

contrast 1.48:1

Card sample

#0f2e3d text on a white background

contrast 14.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2e3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2e3d in the Color Lab