Skip to content

#0f2fff

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

RGB
15, 47, 255
HSL
232°, 100%, 53%
CMYK
94, 82, 0, 0
Luminance
0.0935

Every format

HEX#0f2fff
RGBrgb(15, 47, 255)
HSLhsl(232, 100%, 53%)
CMYKcmyk(94%, 82%, 0%, 0%)
LABlab(36.6 66.7 -100.6)
LCHlch(36.6 120.7 303.6)
OKLCHoklch(0.482 0.293 265.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2fff on white: 7.31:1
AA ✓ pass · AA-large · AAA
Aa
#0f2fff on black: 2.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green18.4%
Blue100.0%

CMYK percentages

Cyan94.1%
Magenta81.6%
Yellow0.0%
Key (black)0.0%

Color previews

#0f2fff text on a black background

contrast 2.87:1

Card sample

#0f2fff text on a white background

contrast 7.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2fff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2fff in the Color Lab