Skip to content

#0045df

a dark, electric blue · cool · closest name: royalblue

RGB
0, 69, 223
HSL
221°, 100%, 44%
CMYK
100, 69, 0, 13
Luminance
0.0958

Every format

HEX#0045df
RGBrgb(0, 69, 223)
HSLhsl(221, 100%, 44%)
CMYKcmyk(100%, 69%, 0%, 13%)
LABlab(37.1 44.0 -81.8)
LCHlch(37.1 92.9 298.3)
OKLCHoklch(0.475 0.239 263.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0045df on white: 7.20:1
AA ✓ pass · AA-large · AAA
Aa
#0045df on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green27.1%
Blue87.5%

CMYK percentages

Cyan100.0%
Magenta69.1%
Yellow0.0%
Key (black)12.5%

Color previews

#0045df text on a black background

contrast 2.92:1

Card sample

#0045df text on a white background

contrast 7.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0045df;
Background color
Panel with #0045df background
background-color: #0045df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0045df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 69, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 69, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0045df;
background: linear-gradient(135deg, #0045df, #4F00DF);

Monochromatic scale

Palettes built from #0045df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0045df in the Color Lab