Skip to content

#0f2bdf

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

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

Every format

HEX#0f2bdf
RGBrgb(15, 43, 223)
HSLhsl(232, 87%, 47%)
CMYKcmyk(93%, 81%, 0%, 13%)
LABlab(32.2 58.8 -89.9)
LCHlch(32.2 107.5 303.2)
OKLCHoklch(0.440 0.262 265.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2bdf on white: 8.64:1
AA ✓ pass · AA-large · AAA
Aa
#0f2bdf on black: 2.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#0f2bdf text on a black background

contrast 2.43:1

Card sample

#0f2bdf text on a white background

contrast 8.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2bdf in the Color Lab