Skip to content

#4089eb

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

RGB
64, 137, 235
HSL
214°, 81%, 59%
CMYK
73, 42, 0, 8
Luminance
0.2498

Every format

HEX#4089eb
RGBrgb(64, 137, 235)
HSLhsl(214, 81%, 59%)
CMYKcmyk(73%, 42%, 0%, 8%)
LABlab(57.0 9.9 -56.0)
LCHlch(57.0 56.9 280.0)
OKLCHoklch(0.632 0.165 256.7)

Copy-ready code

/* CSS */
color: #4089eb;
background-color: #4089eb;
/* Tailwind (arbitrary) */
class="text-[#4089eb] bg-[#4089eb]"
/* SCSS */
$brand: #4089eb;
/* SwiftUI */
Color(red: 0.251, green: 0.537, blue: 0.922)
/* Android */
Color.parseColor("#4089eb")

Accessibility — WCAG contrast

Aa
#4089eb on white: 3.50:1
AA ✗ fail · AA-large · AAA
Aa
#4089eb on black: 6.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green53.7%
Blue92.2%

CMYK percentages

Cyan72.8%
Magenta41.7%
Yellow0.0%
Key (black)7.8%

Color previews

#4089eb text on a black background

contrast 6.00:1

Card sample

#4089eb text on a white background

contrast 3.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4089eb;
Background color
Panel with #4089eb background
background-color: #4089eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4089eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 137, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 137, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4089eb;
background: linear-gradient(135deg, #4089eb, #6940EB);

Monochromatic scale

Palettes built from #4089eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4089eb in the Color Lab