Skip to content

#0a5abc

a dark, electric blue · cool · closest name: royalblue

RGB
10, 90, 188
HSL
213°, 90%, 39%
CMYK
95, 52, 0, 26
Luminance
0.1101

Every format

HEX#0a5abc
RGBrgb(10, 90, 188)
HSLhsl(213, 90%, 39%)
CMYKcmyk(95%, 52%, 0%, 26%)
LABlab(39.6 17.0 -57.4)
LCHlch(39.6 59.9 286.5)
OKLCHoklch(0.485 0.170 257.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0a5abc on white: 6.56:1
AA ✓ pass · AA-large · AAA
Aa
#0a5abc on black: 3.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green35.3%
Blue73.7%

CMYK percentages

Cyan94.7%
Magenta52.1%
Yellow0.0%
Key (black)26.3%

Color previews

#0a5abc text on a black background

contrast 3.20:1

Card sample

#0a5abc text on a white background

contrast 6.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(10, 90, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 90, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a5abc;
background: linear-gradient(135deg, #0a5abc, #310ABC);

Monochromatic scale

Palettes built from #0a5abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0a5abc in the Color Lab