Skip to content

#0fa2df

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

RGB
15, 162, 223
HSL
198°, 87%, 47%
CMYK
93, 27, 0, 13
Luminance
0.3127

Every format

HEX#0fa2df
RGBrgb(15, 162, 223)
HSLhsl(198, 87%, 47%)
CMYKcmyk(93%, 27%, 0%, 13%)
LABlab(62.7 -13.0 -40.4)
LCHlch(62.7 42.5 252.2)
OKLCHoklch(0.673 0.140 234.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fa2df on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#0fa2df on black: 7.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green63.5%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta27.4%
Yellow0.0%
Key (black)12.5%

Color previews

#0fa2df text on a black background

contrast 7.25:1

Card sample

#0fa2df text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fa2df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fa2df in the Color Lab