Skip to content

#0b2cef

a balanced, electric blue · warm · closest name: blue

RGB
11, 44, 239
HSL
231°, 91%, 49%
CMYK
95, 82, 0, 6
Luminance
0.0810

Every format

HEX#0b2cef
RGBrgb(11, 44, 239)
HSLhsl(231, 91%, 49%)
CMYKcmyk(95%, 82%, 0%, 6%)
LABlab(34.2 63.2 -95.7)
LCHlch(34.2 114.7 303.4)
OKLCHoklch(0.460 0.278 264.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b2cef on white: 8.01:1
AA ✓ pass · AA-large · AAA
Aa
#0b2cef on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green17.3%
Blue93.7%

CMYK percentages

Cyan95.4%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#0b2cef text on a black background

contrast 2.62:1

Card sample

#0b2cef text on a white background

contrast 8.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 44, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 44, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b2cef;
background: linear-gradient(135deg, #0b2cef, #820BEF);

Monochromatic scale

Palettes built from #0b2cef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b2cef in the Color Lab