Skip to content

#334477

a dark, soft blue · warm · closest name: steelblue

RGB
51, 68, 119
HSL
225°, 40%, 33%
CMYK
57, 43, 0, 53
Luminance
0.0617

Every format

HEX#334477
RGBrgb(51, 68, 119)
HSLhsl(225, 40%, 33%)
CMYKcmyk(57%, 43%, 0%, 53%)
LABlab(29.8 9.6 -31.3)
LCHlch(29.8 32.8 287.0)
OKLCHoklch(0.399 0.089 268.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#334477 on white: 9.40:1
AA ✓ pass · AA-large · AAA
Aa
#334477 on black: 2.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red20.0%
Green26.7%
Blue46.7%

CMYK percentages

Cyan57.1%
Magenta42.9%
Yellow0.0%
Key (black)53.3%

Color previews

#334477 text on a black background

contrast 2.23:1

Card sample

#334477 text on a white background

contrast 9.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(51, 68, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 68, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #334477;
background: linear-gradient(135deg, #334477, #4F3377);

Monochromatic scale

Palettes built from #334477

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #334477 in the Color Lab