Skip to content

#0a7cdf

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

RGB
10, 124, 223
HSL
208°, 91%, 46%
CMYK
96, 44, 0, 13
Luminance
0.1981

Every format

HEX#0a7cdf
RGBrgb(10, 124, 223)
HSLhsl(208, 91%, 46%)
CMYKcmyk(96%, 44%, 0%, 13%)
LABlab(51.6 9.1 -58.1)
LCHlch(51.6 58.8 278.9)
OKLCHoklch(0.585 0.175 252.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0a7cdf on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#0a7cdf on black: 4.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green48.6%
Blue87.5%

CMYK percentages

Cyan95.5%
Magenta44.4%
Yellow0.0%
Key (black)12.5%

Color previews

#0a7cdf text on a black background

contrast 4.96:1

Card sample

#0a7cdf text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(10, 124, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(10, 124, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0a7cdf;
background: linear-gradient(135deg, #0a7cdf, #260ADF);

Monochromatic scale

Palettes built from #0a7cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0a7cdf in the Color Lab