Skip to content

#008cef

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

RGB
0, 140, 239
HSL
205°, 100%, 47%
CMYK
100, 41, 0, 6
Luminance
0.2499

Every format

HEX#008cef
RGBrgb(0, 140, 239)
HSLhsl(205, 100%, 47%)
CMYKcmyk(100%, 41%, 0%, 6%)
LABlab(57.1 5.2 -58.3)
LCHlch(57.1 58.5 275.1)
OKLCHoklch(0.630 0.178 249.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#008cef on white: 3.50:1
AA ✗ fail · AA-large · AAA
Aa
#008cef on black: 6.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green54.9%
Blue93.7%

CMYK percentages

Cyan100.0%
Magenta41.4%
Yellow0.0%
Key (black)6.3%

Color previews

#008cef text on a black background

contrast 6.00:1

Card sample

#008cef text on a white background

contrast 3.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 140, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 140, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #008cef;
background: linear-gradient(135deg, #008cef, #1400EF);

Monochromatic scale

Palettes built from #008cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #008cef in the Color Lab