Skip to content

#0b2ace

a dark, electric blue · warm · closest name: navy

RGB
11, 42, 206
HSL
231°, 90%, 43%
CMYK
95, 80, 0, 19
Luminance
0.0618

Every format

HEX#0b2ace
RGBrgb(11, 42, 206)
HSLhsl(231, 90%, 43%)
CMYKcmyk(95%, 80%, 0%, 19%)
LABlab(29.9 53.9 -83.9)
LCHlch(29.9 99.7 302.7)
OKLCHoklch(0.418 0.244 265.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b2ace on white: 9.39:1
AA ✓ pass · AA-large · AAA
Aa
#0b2ace on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green16.5%
Blue80.8%

CMYK percentages

Cyan94.7%
Magenta79.6%
Yellow0.0%
Key (black)19.2%

Color previews

#0b2ace text on a black background

contrast 2.24:1

Card sample

#0b2ace text on a white background

contrast 9.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 42, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 42, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2ace;
background: linear-gradient(135deg, #0b2ace, #6E0BCE);

Monochromatic scale

Palettes built from #0b2ace

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b2ace in the Color Lab