Skip to content

#0d0eb4

a dark, electric blue · warm · closest name: navy

RGB
13, 14, 180
HSL
240°, 87%, 38%
CMYK
93, 92, 0, 29
Luminance
0.0369

Every format

HEX#0d0eb4
RGBrgb(13, 14, 180)
HSLhsl(240, 87%, 38%)
CMYKcmyk(93%, 92%, 0%, 29%)
LABlab(22.6 57.6 -80.6)
LCHlch(22.6 99.1 305.5)
OKLCHoklch(0.359 0.234 266.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0d0eb4 on white: 12.08:1
AA ✓ pass · AA-large · AAA
Aa
#0d0eb4 on black: 1.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green5.5%
Blue70.6%

CMYK percentages

Cyan92.8%
Magenta92.2%
Yellow0.0%
Key (black)29.4%

Color previews

#0d0eb4 text on a black background

contrast 1.74:1

Card sample

#0d0eb4 text on a white background

contrast 12.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 14, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 14, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d0eb4;
background: linear-gradient(135deg, #0d0eb4, #7B0DB4);

Monochromatic scale

Palettes built from #0d0eb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d0eb4 in the Color Lab