Skip to content

#2e6eaf

a dark, vivid blue · cool · closest name: steelblue

RGB
46, 110, 175
HSL
210°, 58%, 43%
CMYK
74, 37, 0, 31
Luminance
0.1483

Every format

HEX#2e6eaf
RGBrgb(46, 110, 175)
HSLhsl(210, 58%, 43%)
CMYKcmyk(74%, 37%, 0%, 31%)
LABlab(45.4 2.1 -40.5)
LCHlch(45.4 40.5 273.0)
OKLCHoklch(0.529 0.121 251.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2e6eaf on white: 5.30:1
AA ✓ pass · AA-large · AAA
Aa
#2e6eaf on black: 3.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.0%
Green43.1%
Blue68.6%

CMYK percentages

Cyan73.7%
Magenta37.1%
Yellow0.0%
Key (black)31.4%

Color previews

#2e6eaf text on a black background

contrast 3.97:1

Card sample

#2e6eaf text on a white background

contrast 5.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(46, 110, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(46, 110, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2e6eaf;
background: linear-gradient(135deg, #2e6eaf, #442EAF);

Monochromatic scale

Palettes built from #2e6eaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2e6eaf in the Color Lab