Skip to content

#0d8dfd

a balanced, electric blue · cool · “dodgerblue”

RGB
13, 141, 253
HSL
208°, 98%, 52%
CMYK
95, 44, 0, 1
Luminance
0.2623

Every format

HEX#0d8dfd
RGBrgb(13, 141, 253)
HSLhsl(208, 98%, 52%)
CMYKcmyk(95%, 44%, 0%, 1%)
LABlab(58.3 10.3 -64.1)
LCHlch(58.3 64.9 279.1)
OKLCHoklch(0.642 0.193 252.8)

Copy-ready code

/* CSS */
color: #0d8dfd;
background-color: #0d8dfd;
/* Tailwind (arbitrary) */
class="text-[#0d8dfd] bg-[#0d8dfd]"
/* SCSS */
$brand: #0d8dfd;
/* SwiftUI */
Color(red: 0.051, green: 0.553, blue: 0.992)
/* Android */
Color.parseColor("#0d8dfd")

Accessibility — WCAG contrast

Aa
#0d8dfd on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#0d8dfd on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green55.3%
Blue99.2%

CMYK percentages

Cyan94.9%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#0d8dfd text on a black background

contrast 6.25:1

Card sample

#0d8dfd text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0d8dfd;
Background color
Panel with #0d8dfd background
background-color: #0d8dfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0d8dfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(13, 141, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 141, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d8dfd;
background: linear-gradient(135deg, #0d8dfd, #2D0DFD);

Monochromatic scale

Palettes built from #0d8dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d8dfd in the Color Lab