Skip to content

#0b3daf

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

RGB
11, 61, 175
HSL
222°, 88%, 37%
CMYK
94, 65, 0, 31
Luminance
0.0650

Every format

HEX#0b3daf
RGBrgb(11, 61, 175)
HSLhsl(222, 88%, 37%)
CMYKcmyk(94%, 65%, 0%, 31%)
LABlab(30.6 31.3 -64.3)
LCHlch(30.6 71.6 296.0)
OKLCHoklch(0.414 0.188 263.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b3daf on white: 9.13:1
AA ✓ pass · AA-large · AAA
Aa
#0b3daf on black: 2.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green23.9%
Blue68.6%

CMYK percentages

Cyan93.7%
Magenta65.1%
Yellow0.0%
Key (black)31.4%

Color previews

#0b3daf text on a black background

contrast 2.30:1

Card sample

#0b3daf text on a white background

contrast 9.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 61, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 61, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b3daf;
background: linear-gradient(135deg, #0b3daf, #460BAF);

Monochromatic scale

Palettes built from #0b3daf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b3daf in the Color Lab