Skip to content

#0039fa

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

RGB
0, 57, 250
HSL
226°, 100%, 49%
CMYK
100, 77, 0, 2
Luminance
0.0983

Every format

HEX#0039fa
RGBrgb(0, 57, 250)
HSLhsl(226, 100%, 49%)
CMYKcmyk(100%, 77%, 0%, 2%)
LABlab(37.5 60.1 -96.3)
LCHlch(37.5 113.6 302.0)
OKLCHoklch(0.486 0.281 264.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0039fa on white: 7.08:1
AA ✓ pass · AA-large · AAA
Aa
#0039fa on black: 2.97:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green22.4%
Blue98.0%

CMYK percentages

Cyan100.0%
Magenta77.2%
Yellow0.0%
Key (black)2.0%

Color previews

#0039fa text on a black background

contrast 2.97:1

Card sample

#0039fa text on a white background

contrast 7.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0039fa;
Background color
Panel with #0039fa background
background-color: #0039fa;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0039fa;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 57, 250, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 57, 250, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0039fa;
background: linear-gradient(135deg, #0039fa, #6E00FA);

Monochromatic scale

Palettes built from #0039fa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0039fa in the Color Lab