#0B266B Color Information

Hex color code: #0B266B

The hex color #0B266B is a dark blue with RGB values of (11, 38, 107) and HSL of (223°, 81%, 23%). It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#0B266B
RGB
11, 38, 107
HSL
223°, 81%, 23%
CMYK
90%, 64%, 0%, 58%

Shades

CSS Usage
color: #0B266B;
background-color: #0B266B;
border-color: #0B266B;
box-shadow: 0 0 10px #0B266B;
border: 2px solid #0B266B;
Tailwind Usage
bg-[#0B266B]
text-[#0B266B]
border-[#0B266B]
shadow-[0_0_10px_0B266B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #0B266B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #0B266B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #0B266B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #0B266B; background-color: #0B266B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #0B266B20; border-left: 4px solid #0B266B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #0B266B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #0B266B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

11, 38, 107

Red: 11 / Green: 38 / Blue: 107

HSL

223°, 81%, 23%

Hue: 223° / Saturation: 81% / Lightness: 23%

CMYK

90%, 64%, 0%, 58%

Cyan: 90% / Magenta: 64% / Yellow: 0% / Key: 58%

What color is #0B266B?

#0B266B is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0B266B to RGB:

rgb(11, 38, 107)HEX to RGB Converter →

HEX to HSL

Convert #0B266B to HSL:

hsl(223, 81%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #0B266B to CMYK:

cmyk(90%, 64%, 0%, 58%)Color Converter →

Color Meaning and Usage

A dramatic blue tone, #0B266B has RGB (11, 38, 107) and HSL (223°, 81%, 23%). Known for evoking energy and excitement, this highly saturated hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0B266B is #6A4F0B, creating high-contrast pairings. For softer combinations, try analogous colors like #0B566A.

Use #0B266B in CSS: color: #0B266B or background-color: #0B266B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #0B266B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.50:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0B266B?

#0B266B is a dramatic blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #0B266B?

#0B266B in RGB is (11, 38, 107) - 11 red, 38 green, and 107 blue.

How to use #0B266B in CSS?

Use #0B266B directly in your CSS properties like color or background-color.

What colors go well with #0B266B?

#6A4F0B (complementary), #0B566A (analogous), and #040D25 (lighter shade) work well with #0B266B.