Skip to content

#0f2cff

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

RGB
15, 44, 255
HSL
233°, 100%, 53%
CMYK
94, 83, 0, 0
Luminance
0.0912

Every format

HEX#0f2cff
RGBrgb(15, 44, 255)
HSLhsl(233, 100%, 53%)
CMYKcmyk(94%, 83%, 0%, 0%)
LABlab(36.2 68.0 -101.3)
LCHlch(36.2 122.0 303.9)
OKLCHoklch(0.479 0.295 265.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2cff on white: 7.43:1
AA ✓ pass · AA-large · AAA
Aa
#0f2cff on black: 2.82:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green17.3%
Blue100.0%

CMYK percentages

Cyan94.1%
Magenta82.7%
Yellow0.0%
Key (black)0.0%

Color previews

#0f2cff text on a black background

contrast 2.82:1

Card sample

#0f2cff text on a white background

contrast 7.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2cff in the Color Lab