Skip to content

#128dfd

a balanced, electric blue · cool · “dodgerblue”

RGB
18, 141, 253
HSL
209°, 98%, 53%
CMYK
93, 44, 0, 1
Luminance
0.2627

Every format

HEX#128dfd
RGBrgb(18, 141, 253)
HSLhsl(209, 98%, 53%)
CMYKcmyk(93%, 44%, 0%, 1%)
LABlab(58.3 10.5 -64.0)
LCHlch(58.3 64.9 279.3)
OKLCHoklch(0.643 0.193 253.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#128dfd on white: 3.36:1
AA ✗ fail · AA-large · AAA
Aa
#128dfd on black: 6.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green55.3%
Blue99.2%

CMYK percentages

Cyan92.9%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#128dfd text on a black background

contrast 6.25:1

Card sample

#128dfd text on a white background

contrast 3.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #128dfd;
Background color
Panel with #128dfd background
background-color: #128dfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #128dfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(18, 141, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 141, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #128dfd;
background: linear-gradient(135deg, #128dfd, #3412FD);

Monochromatic scale

Palettes built from #128dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #128dfd in the Color Lab