#0A2A61 Color Information

Hex color code: #0A2A61

The hex color #0A2A61 is a dark blue with RGB values of (10, 42, 97) and HSL of (218°, 81%, 21%). It is frequently seen in web interfaces.

Try:
Color NameNavy
HEX
#0A2A61
RGB
10, 42, 97
HSL
218°, 81%, 21%
CMYK
90%, 57%, 0%, 62%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #0A2A61; 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 #0A2A61; background-color: #0A2A6115; }

Alert / Toast

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

Link / Accent

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

a { color: #0A2A61; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

10, 42, 97

Red: 10 / Green: 42 / Blue: 97

HSL

218°, 81%, 21%

Hue: 218° / Saturation: 81% / Lightness: 21%

CMYK

90%, 57%, 0%, 62%

Cyan: 90% / Magenta: 57% / Yellow: 0% / Key: 62%

What color is #0A2A61?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0A2A61 to RGB:

rgb(10, 42, 97)HEX to RGB Converter →

HEX to HSL

Convert #0A2A61 to HSL:

hsl(218, 81%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #0A2A61 to CMYK:

cmyk(90%, 57%, 0%, 62%)Color Converter →

Color Meaning and Usage

A dark blue tone, #0A2A61 has RGB (10, 42, 97) and HSL (218°, 81%, 21%). Known for evoking energy and excitement, this highly saturated hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0A2A61 is #61410A, creating high-contrast pairings. For softer combinations, try analogous colors like #0A5561.

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

Contrast with #0A2A61

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0A2A61?

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

What is the RGB value of #0A2A61?

#0A2A61 in RGB is (10, 42, 97) - 10 red, 42 green, and 97 blue.

How to use #0A2A61 in CSS?

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

What colors go well with #0A2A61?

#61410A (complementary), #0A5561 (analogous), and #030C1C (lighter shade) work well with #0A2A61.