Skip to content

#0f64ba

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

RGB
15, 100, 186
HSL
210°, 85%, 39%
CMYK
92, 46, 0, 27
Luminance
0.1276

Every format

HEX#0f64ba
RGBrgb(15, 100, 186)
HSLhsl(210, 85%, 39%)
CMYKcmyk(92%, 46%, 0%, 27%)
LABlab(42.4 9.9 -51.7)
LCHlch(42.4 52.7 280.8)
OKLCHoklch(0.506 0.155 254.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f64ba on white: 5.91:1
AA ✓ pass · AA-large · AAA
Aa
#0f64ba on black: 3.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green39.2%
Blue72.9%

CMYK percentages

Cyan91.9%
Magenta46.2%
Yellow0.0%
Key (black)27.1%

Color previews

#0f64ba text on a black background

contrast 3.55:1

Card sample

#0f64ba text on a white background

contrast 5.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 100, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 100, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f64ba;
background: linear-gradient(135deg, #0f64ba, #2C0FBA);

Monochromatic scale

Palettes built from #0f64ba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f64ba in the Color Lab