Skip to content

#121628

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

RGB
18, 22, 40
HSL
229°, 38%, 11%
CMYK
55, 45, 0, 84
Luminance
0.0086

Every format

HEX#121628
RGBrgb(18, 22, 40)
HSLhsl(229, 38%, 11%)
CMYKcmyk(55%, 45%, 0%, 84%)
LABlab(7.7 4.3 -12.9)
LCHlch(7.7 13.6 288.2)
OKLCHoklch(0.206 0.036 273.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#121628 on white: 17.93:1
AA ✓ pass · AA-large · AAA
Aa
#121628 on black: 1.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green8.6%
Blue15.7%

CMYK percentages

Cyan55.0%
Magenta45.0%
Yellow0.0%
Key (black)84.3%

Color previews

#121628 text on a black background

contrast 1.17:1

Card sample

#121628 text on a white background

contrast 17.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(18, 22, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 22, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #121628;
background: linear-gradient(135deg, #121628, #1D1228);

Monochromatic scale

Palettes built from #121628

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #121628 in the Color Lab