Skip to content

#0fa2db

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

RGB
15, 162, 219
HSL
197°, 87%, 46%
CMYK
93, 26, 0, 14
Luminance
0.3106

Every format

HEX#0fa2db
RGBrgb(15, 162, 219)
HSLhsl(197, 87%, 46%)
CMYKcmyk(93%, 26%, 0%, 14%)
LABlab(62.5 -14.4 -38.5)
LCHlch(62.5 41.1 249.4)
OKLCHoklch(0.671 0.136 233.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fa2db on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#0fa2db on black: 7.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green63.5%
Blue85.9%

CMYK percentages

Cyan93.2%
Magenta26.0%
Yellow0.0%
Key (black)14.1%

Color previews

#0fa2db text on a black background

contrast 7.21:1

Card sample

#0fa2db text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fa2db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fa2db in the Color Lab