Skip to content

#0f3fcd

a dark, electric blue · cool · closest name: slateblue

RGB
15, 63, 205
HSL
225°, 86%, 43%
CMYK
93, 69, 0, 20
Luminance
0.0806

Every format

HEX#0f3fcd
RGBrgb(15, 63, 205)
HSLhsl(225, 86%, 43%)
CMYKcmyk(93%, 69%, 0%, 20%)
LABlab(34.1 41.5 -76.3)
LCHlch(34.1 86.9 298.6)
OKLCHoklch(0.448 0.223 264.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f3fcd on white: 8.04:1
AA ✓ pass · AA-large · AAA
Aa
#0f3fcd on black: 2.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green24.7%
Blue80.4%

CMYK percentages

Cyan92.7%
Magenta69.3%
Yellow0.0%
Key (black)19.6%

Color previews

#0f3fcd text on a black background

contrast 2.61:1

Card sample

#0f3fcd text on a white background

contrast 8.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 63, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 63, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f3fcd;
background: linear-gradient(135deg, #0f3fcd, #5D0FCD);

Monochromatic scale

Palettes built from #0f3fcd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f3fcd in the Color Lab