Skip to content

#0f2adc

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

RGB
15, 42, 220
HSL
232°, 87%, 46%
CMYK
93, 81, 0, 14
Luminance
0.0692

Every format

HEX#0f2adc
RGBrgb(15, 42, 220)
HSLhsl(232, 87%, 46%)
CMYKcmyk(93%, 81%, 0%, 14%)
LABlab(31.6 58.4 -89.1)
LCHlch(31.6 106.5 303.2)
OKLCHoklch(0.435 0.259 265.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2adc on white: 8.81:1
AA ✓ pass · AA-large · AAA
Aa
#0f2adc on black: 2.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green16.5%
Blue86.3%

CMYK percentages

Cyan93.2%
Magenta80.9%
Yellow0.0%
Key (black)13.7%

Color previews

#0f2adc text on a black background

contrast 2.38:1

Card sample

#0f2adc text on a white background

contrast 8.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2adc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2adc in the Color Lab