Skip to content

#0fa5df

a balanced, electric cyan · cool · closest name: steelblue

RGB
15, 165, 223
HSL
197°, 87%, 47%
CMYK
93, 26, 0, 13
Luminance
0.3234

Every format

HEX#0fa5df
RGBrgb(15, 165, 223)
HSLhsl(197, 87%, 47%)
CMYKcmyk(93%, 26%, 0%, 13%)
LABlab(63.6 -14.6 -39.0)
LCHlch(63.6 41.7 249.4)
OKLCHoklch(0.680 0.138 233.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fa5df on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#0fa5df on black: 7.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green64.7%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta26.0%
Yellow0.0%
Key (black)12.5%

Color previews

#0fa5df text on a black background

contrast 7.47:1

Card sample

#0fa5df text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 165, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 165, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0fa5df;
background: linear-gradient(135deg, #0fa5df, #0F1ADF);

Monochromatic scale

Palettes built from #0fa5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fa5df in the Color Lab