Skip to content

#000fb4

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

RGB
0, 15, 180
HSL
235°, 100%, 35%
CMYK
100, 92, 0, 29
Luminance
0.0364

Every format

HEX#000fb4
RGBrgb(0, 15, 180)
HSLhsl(235, 100%, 35%)
CMYKcmyk(100%, 92%, 0%, 29%)
LABlab(22.4 57.1 -81.0)
LCHlch(22.4 99.1 305.2)
OKLCHoklch(0.356 0.235 264.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#000fb4 on white: 12.16:1
AA ✓ pass · AA-large · AAA
Aa
#000fb4 on black: 1.73:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green5.9%
Blue70.6%

CMYK percentages

Cyan100.0%
Magenta91.7%
Yellow0.0%
Key (black)29.4%

Color previews

#000fb4 text on a black background

contrast 1.73:1

Card sample

#000fb4 text on a white background

contrast 12.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 15, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 15, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #000fb4;
background: linear-gradient(135deg, #000fb4, #6900B4);

Monochromatic scale

Palettes built from #000fb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #000fb4 in the Color Lab