Skip to content

#0949af

a dark, electric blue · cool · closest name: royalblue

RGB
9, 73, 175
HSL
217°, 90%, 36%
CMYK
95, 58, 0, 31
Luminance
0.0792

Every format

HEX#0949af
RGBrgb(9, 73, 175)
HSLhsl(217, 90%, 36%)
CMYKcmyk(95%, 58%, 0%, 31%)
LABlab(33.8 23.1 -59.2)
LCHlch(33.8 63.5 291.4)
OKLCHoklch(0.437 0.174 260.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0949af on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#0949af on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.5%
Green28.6%
Blue68.6%

CMYK percentages

Cyan94.9%
Magenta58.3%
Yellow0.0%
Key (black)31.4%

Color previews

#0949af text on a black background

contrast 2.58:1

Card sample

#0949af text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(9, 73, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 73, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0949af;
background: linear-gradient(135deg, #0949af, #3809AF);

Monochromatic scale

Palettes built from #0949af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0949af in the Color Lab