Skip to content

#0f3cdd

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

RGB
15, 60, 221
HSL
227°, 87%, 46%
CMYK
93, 73, 0, 13
Luminance
0.0855

Every format

HEX#0f3cdd
RGBrgb(15, 60, 221)
HSLhsl(227, 87%, 46%)
CMYKcmyk(93%, 73%, 0%, 13%)
LABlab(35.1 49.1 -83.9)
LCHlch(35.1 97.2 300.3)
OKLCHoklch(0.460 0.244 264.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f3cdd on white: 7.75:1
AA ✓ pass · AA-large · AAA
Aa
#0f3cdd on black: 2.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green23.5%
Blue86.7%

CMYK percentages

Cyan93.2%
Magenta72.9%
Yellow0.0%
Key (black)13.3%

Color previews

#0f3cdd text on a black background

contrast 2.71:1

Card sample

#0f3cdd text on a white background

contrast 7.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 60, 221, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 60, 221, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f3cdd;
background: linear-gradient(135deg, #0f3cdd, #6B0FDD);

Monochromatic scale

Palettes built from #0f3cdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f3cdd in the Color Lab