Skip to content

#0f2adf

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

RGB
15, 42, 223
HSL
232°, 87%, 47%
CMYK
93, 81, 0, 13
Luminance
0.0709

Every format

HEX#0f2adf
RGBrgb(15, 42, 223)
HSLhsl(232, 87%, 47%)
CMYKcmyk(93%, 81%, 0%, 13%)
LABlab(32.0 59.3 -90.2)
LCHlch(32.0 108.0 303.3)
OKLCHoklch(0.439 0.262 265.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2adf on white: 8.69:1
AA ✓ pass · AA-large · AAA
Aa
#0f2adf on black: 2.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green16.5%
Blue87.5%

CMYK percentages

Cyan93.3%
Magenta81.2%
Yellow0.0%
Key (black)12.5%

Color previews

#0f2adf text on a black background

contrast 2.42:1

Card sample

#0f2adf text on a white background

contrast 8.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2adf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2adf in the Color Lab