Skip to content

#0a2eee

a balanced, electric blue · warm · closest name: blue

RGB
10, 46, 238
HSL
231°, 92%, 49%
CMYK
96, 81, 0, 7
Luminance
0.0819

Every format

HEX#0a2eee
RGBrgb(10, 46, 238)
HSLhsl(231, 92%, 49%)
CMYKcmyk(96%, 81%, 0%, 7%)
LABlab(34.4 62.0 -94.8)
LCHlch(34.4 113.3 303.2)
OKLCHoklch(0.461 0.276 264.8)

Copy-ready code

/* CSS */
color: #0a2eee;
background-color: #0a2eee;
/* Tailwind (arbitrary) */
class="text-[#0a2eee] bg-[#0a2eee]"
/* SCSS */
$brand: #0a2eee;
/* SwiftUI */
Color(red: 0.039, green: 0.180, blue: 0.933)
/* Android */
Color.parseColor("#0a2eee")

Accessibility — WCAG contrast

Aa
#0a2eee on white: 7.96:1
AA ✓ pass · AA-large · AAA
Aa
#0a2eee on black: 2.64:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green18.0%
Blue93.3%

CMYK percentages

Cyan95.8%
Magenta80.7%
Yellow0.0%
Key (black)6.7%

Color previews

#0a2eee text on a black background

contrast 2.64:1

Card sample

#0a2eee text on a white background

contrast 7.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0a2eee;
Background color
Panel with #0a2eee background
background-color: #0a2eee;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(10, 46, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 46, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a2eee;
background: linear-gradient(135deg, #0a2eee, #7E0AEE);

Monochromatic scale

Palettes built from #0a2eee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0a2eee in the Color Lab