Skip to content

#2a93ff

a balanced, electric blue · cool · “dodgerblue”

RGB
42, 147, 255
HSL
210°, 100%, 58%
CMYK
84, 42, 0, 0
Luminance
0.2858

Every format

HEX#2a93ff
RGBrgb(42, 147, 255)
HSLhsl(210, 100%, 58%)
CMYKcmyk(84%, 42%, 0%, 0%)
LABlab(60.4 8.9 -61.7)
LCHlch(60.4 62.4 278.2)
OKLCHoklch(0.661 0.185 253.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2a93ff on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#2a93ff on black: 6.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green57.6%
Blue100.0%

CMYK percentages

Cyan83.5%
Magenta42.4%
Yellow0.0%
Key (black)0.0%

Color previews

#2a93ff text on a black background

contrast 6.72:1

Card sample

#2a93ff text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 147, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 147, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2a93ff;
background: linear-gradient(135deg, #2a93ff, #4F2AFF);

Monochromatic scale

Palettes built from #2a93ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2a93ff in the Color Lab