Skip to content

#0f2cdf

a balanced, electric blue · warm · closest name: blue

RGB
15, 44, 223
HSL
232°, 87%, 47%
CMYK
93, 80, 0, 13
Luminance
0.0723

Every format

HEX#0f2cdf
RGBrgb(15, 44, 223)
HSLhsl(232, 87%, 47%)
CMYKcmyk(93%, 80%, 0%, 13%)
LABlab(32.3 58.3 -89.7)
LCHlch(32.3 107.0 303.1)
OKLCHoklch(0.441 0.261 265.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2cdf on white: 8.58:1
AA ✓ pass · AA-large · AAA
Aa
#0f2cdf on black: 2.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green17.3%
Blue87.5%

CMYK percentages

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

Color previews

#0f2cdf text on a black background

contrast 2.45:1

Card sample

#0f2cdf text on a white background

contrast 8.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2cdf in the Color Lab