Skip to content

#008ef1

a balanced, electric blue · cool · closest name: dodgerblue

RGB
0, 142, 241
HSL
205°, 100%, 47%
CMYK
100, 41, 0, 6
Luminance
0.2570

Every format

HEX#008ef1
RGBrgb(0, 142, 241)
HSLhsl(205, 100%, 47%)
CMYKcmyk(100%, 41%, 0%, 6%)
LABlab(57.7 4.8 -58.3)
LCHlch(57.7 58.5 274.7)
OKLCHoklch(0.636 0.178 249.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#008ef1 on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#008ef1 on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green55.7%
Blue94.5%

CMYK percentages

Cyan100.0%
Magenta41.1%
Yellow0.0%
Key (black)5.5%

Color previews

#008ef1 text on a black background

contrast 6.14:1

Card sample

#008ef1 text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #008ef1;
Background color
Panel with #008ef1 background
background-color: #008ef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #008ef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 142, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 142, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008ef1;
background: linear-gradient(135deg, #008ef1, #1200F1);

Monochromatic scale

Palettes built from #008ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #008ef1 in the Color Lab