Skip to content

#003afd

a balanced, electric blue · warm · closest name: blue

RGB
0, 58, 253
HSL
226°, 100%, 50%
CMYK
100, 77, 0, 1
Luminance
0.1012

Every format

HEX#003afd
RGBrgb(0, 58, 253)
HSLhsl(226, 100%, 50%)
CMYKcmyk(100%, 77%, 0%, 1%)
LABlab(38.0 60.6 -97.2)
LCHlch(38.0 114.5 302.0)
OKLCHoklch(0.491 0.283 264.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#003afd on white: 6.95:1
AA ✓ pass · AA-large · AAA
Aa
#003afd on black: 3.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green22.7%
Blue99.2%

CMYK percentages

Cyan100.0%
Magenta77.1%
Yellow0.0%
Key (black)0.8%

Color previews

#003afd text on a black background

contrast 3.02:1

Card sample

#003afd text on a white background

contrast 6.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #003afd;
Background color
Panel with #003afd background
background-color: #003afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #003afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 58, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 58, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003afd;
background: linear-gradient(135deg, #003afd, #6E00FD);

Monochromatic scale

Palettes built from #003afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #003afd in the Color Lab