Skip to content

#0b0b49

a deep, vivid blue · warm · closest name: midnightblue

RGB
11, 11, 73
HSL
240°, 74%, 17%
CMYK
85, 85, 0, 71
Luminance
0.0079

Every format

HEX#0b0b49
RGBrgb(11, 11, 73)
HSLhsl(240, 74%, 17%)
CMYKcmyk(85%, 85%, 0%, 71%)
LABlab(7.2 24.5 -37.8)
LCHlch(7.2 45.0 303.0)
OKLCHoklch(0.210 0.110 271.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b0b49 on white: 18.13:1
AA ✓ pass · AA-large · AAA
Aa
#0b0b49 on black: 1.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green4.3%
Blue28.6%

CMYK percentages

Cyan84.9%
Magenta84.9%
Yellow0.0%
Key (black)71.4%

Color previews

#0b0b49 text on a black background

contrast 1.16:1

Card sample

#0b0b49 text on a white background

contrast 18.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 11, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 11, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b0b49;
background: linear-gradient(135deg, #0b0b49, #340B49);

Monochromatic scale

Palettes built from #0b0b49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b0b49 in the Color Lab