Skip to content

#0da2fd

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

RGB
13, 162, 253
HSL
203°, 98%, 52%
CMYK
95, 36, 0, 1
Luminance
0.3302

Every format

HEX#0da2fd
RGBrgb(13, 162, 253)
HSLhsl(203, 98%, 52%)
CMYKcmyk(95%, 36%, 0%, 1%)
LABlab(64.2 -2.1 -54.6)
LCHlch(64.2 54.7 267.8)
OKLCHoklch(0.689 0.172 245.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0da2fd on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#0da2fd on black: 7.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green63.5%
Blue99.2%

CMYK percentages

Cyan94.9%
Magenta36.0%
Yellow0.0%
Key (black)0.8%

Color previews

#0da2fd text on a black background

contrast 7.60:1

Card sample

#0da2fd text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0da2fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0da2fd in the Color Lab