#0C135A Color Information

Hex color code: #0C135A

A deep blue shade, #0C135A appears as (12, 19, 90) in RGB and (235°, 76%, 20%) in HSL. It is commonly used in modern UI design.

Try:
Color NameNavy
HEX
#0C135A
RGB
12, 19, 90
HSL
235°, 76%, 20%
CMYK
87%, 79%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #0C135A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

12, 19, 90

Red: 12 / Green: 19 / Blue: 90

HSL

235°, 76%, 20%

Hue: 235° / Saturation: 76% / Lightness: 20%

CMYK

87%, 79%, 0%, 65%

Cyan: 87% / Magenta: 79% / Yellow: 0% / Key: 65%

What color is #0C135A?

#0C135A is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #0C135A to RGB:

rgb(12, 19, 90)HEX to RGB Converter →

HEX to HSL

Convert #0C135A to HSL:

hsl(235, 76%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #0C135A to CMYK:

cmyk(87%, 79%, 0%, 65%)Color Converter →

Color Meaning and Usage

A intense blue tone, #0C135A has RGB (12, 19, 90) and HSL (235°, 76%, 20%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #0C135A is #5A530C, creating high-contrast pairings. For softer combinations, try analogous colors like #0C395A.

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

Contrast with #0C135A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #0C135A?

#0C135A is a intense blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #0C135A?

#0C135A in RGB is (12, 19, 90) - 12 red, 19 green, and 90 blue.

How to use #0C135A in CSS?

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

What colors go well with #0C135A?

#5A530C (complementary), #0C395A (analogous), and #030516 (lighter shade) work well with #0C135A.