Skip to content

#1f80df

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

RGB
31, 128, 223
HSL
210°, 76%, 50%
CMYK
86, 43, 0, 13
Luminance
0.2106

Every format

HEX#1f80df
RGBrgb(31, 128, 223)
HSLhsl(210, 76%, 50%)
CMYKcmyk(86%, 43%, 0%, 13%)
LABlab(53.0 7.7 -55.8)
LCHlch(53.0 56.4 277.8)
OKLCHoklch(0.596 0.168 252.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1f80df on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#1f80df on black: 5.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green50.2%
Blue87.5%

CMYK percentages

Cyan86.1%
Magenta42.6%
Yellow0.0%
Key (black)12.5%

Color previews

#1f80df text on a black background

contrast 5.21:1

Card sample

#1f80df text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1f80df;
Background color
Panel with #1f80df background
background-color: #1f80df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1f80df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(31, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1f80df;
background: linear-gradient(135deg, #1f80df, #3E1FDF);

Monochromatic scale

Palettes built from #1f80df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1f80df in the Color Lab