Skip to content

#00007f

a deep, electric blue · warm · “navy”

RGB
0, 0, 127
HSL
240°, 100%, 25%
CMYK
100, 100, 0, 50
Luminance
0.0153

Every format

HEX#00007f
RGBrgb(0, 0, 127)
HSLhsl(240, 100%, 25%)
CMYKcmyk(100%, 100%, 0%, 50%)
LABlab(12.8 47.2 -64.3)
LCHlch(12.8 79.8 306.3)
OKLCHoklch(0.270 0.187 264.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#00007f on white: 16.07:1
AA ✓ pass · AA-large · AAA
Aa
#00007f on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green0.0%
Blue49.8%

CMYK percentages

Cyan100.0%
Magenta100.0%
Yellow0.0%
Key (black)50.2%

Color previews

#00007f text on a black background

contrast 1.31:1

Card sample

#00007f text on a white background

contrast 16.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 0, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 0, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00007f;
background: linear-gradient(135deg, #00007f, #55007F);

Monochromatic scale

Palettes built from #00007f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #00007f in the Color Lab