Skip to content

#2a86fc

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

RGB
42, 134, 252
HSL
214°, 97%, 58%
CMYK
83, 47, 0, 1
Luminance
0.2457

Every format

HEX#2a86fc
RGBrgb(42, 134, 252)
HSLhsl(214, 97%, 58%)
CMYKcmyk(83%, 47%, 0%, 1%)
LABlab(56.6 15.7 -66.1)
LCHlch(56.6 68.0 283.4)
OKLCHoklch(0.631 0.195 256.9)

Copy-ready code

/* CSS */
color: #2a86fc;
background-color: #2a86fc;
/* Tailwind (arbitrary) */
class="text-[#2a86fc] bg-[#2a86fc]"
/* SCSS */
$brand: #2a86fc;
/* SwiftUI */
Color(red: 0.165, green: 0.525, blue: 0.988)
/* Android */
Color.parseColor("#2a86fc")

Accessibility — WCAG contrast

Aa
#2a86fc on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#2a86fc on black: 5.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green52.5%
Blue98.8%

CMYK percentages

Cyan83.3%
Magenta46.8%
Yellow0.0%
Key (black)1.2%

Color previews

#2a86fc text on a black background

contrast 5.91:1

Card sample

#2a86fc text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2a86fc;
Background color
Panel with #2a86fc background
background-color: #2a86fc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 134, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 134, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2a86fc;
background: linear-gradient(135deg, #2a86fc, #5A2AFC);

Monochromatic scale

Palettes built from #2a86fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2a86fc in the Color Lab