Skip to content

#0d8fdf

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

RGB
13, 143, 223
HSL
203°, 89%, 46%
CMYK
94, 36, 0, 13
Luminance
0.2506

Every format

HEX#0d8fdf
RGBrgb(13, 143, 223)
HSLhsl(203, 89%, 46%)
CMYKcmyk(94%, 36%, 0%, 13%)
LABlab(57.1 -2.3 -49.3)
LCHlch(57.1 49.3 267.4)
OKLCHoklch(0.628 0.155 245.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0d8fdf on white: 3.49:1
AA ✗ fail · AA-large · AAA
Aa
#0d8fdf on black: 6.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green56.1%
Blue87.5%

CMYK percentages

Cyan94.2%
Magenta35.9%
Yellow0.0%
Key (black)12.5%

Color previews

#0d8fdf text on a black background

contrast 6.01:1

Card sample

#0d8fdf text on a white background

contrast 3.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 143, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 143, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0d8fdf;
background: linear-gradient(135deg, #0d8fdf, #170DDF);

Monochromatic scale

Palettes built from #0d8fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d8fdf in the Color Lab