Skip to content

#0000ef

a balanced, electric blue · warm · closest name: blue

RGB
0, 0, 239
HSL
240°, 100%, 47%
CMYK
100, 100, 0, 6
Luminance
0.0623

Every format

HEX#0000ef
RGBrgb(0, 0, 239)
HSLhsl(240, 100%, 47%)
CMYKcmyk(100%, 100%, 0%, 6%)
LABlab(30.0 75.4 -102.7)
LCHlch(30.0 127.4 306.3)
OKLCHoklch(0.430 0.298 264.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0000ef on white: 9.35:1
AA ✓ pass · AA-large · AAA
Aa
#0000ef on black: 2.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green0.0%
Blue93.7%

CMYK percentages

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

Color previews

#0000ef text on a black background

contrast 2.25:1

Card sample

#0000ef text on a white background

contrast 9.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0000ef;
Background color
Panel with #0000ef background
background-color: #0000ef;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 0, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 0, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0000ef;
background: linear-gradient(135deg, #0000ef, #9F00EF);

Monochromatic scale

Palettes built from #0000ef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0000ef in the Color Lab