#12183F Color Information

Hex color code: #12183F

A deep blue shade, #12183F appears as (18, 24, 63) in RGB and (232°, 56%, 16%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#12183F
RGB
18, 24, 63
HSL
232°, 56%, 16%
CMYK
71%, 62%, 0%, 75%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #12183F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #12183F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #12183F; 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 #12183F; background-color: #12183F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #12183F20; border-left: 4px solid #12183F; }

Link / Accent

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

a { color: #12183F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #12183F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 24, 63

Red: 18 / Green: 24 / Blue: 63

HSL

232°, 56%, 16%

Hue: 232° / Saturation: 56% / Lightness: 16%

CMYK

71%, 62%, 0%, 75%

Cyan: 71% / Magenta: 62% / Yellow: 0% / Key: 75%

What color is #12183F?

#12183F is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #12183F to RGB:

rgb(18, 24, 63)HEX to RGB Converter →

HEX to HSL

Convert #12183F to HSL:

hsl(232, 56%, 16%)RGB to HSL Converter →

HEX to CMYK

Convert #12183F to CMYK:

cmyk(71%, 62%, 0%, 75%)Color Converter →

Color Meaning and Usage

A deep blue tone, #12183F has RGB (18, 24, 63) and HSL (232°, 56%, 16%). Known for evoking sophistication and elegance, this very dark shade is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #12183F is #403A12, creating high-contrast pairings. For softer combinations, try analogous colors like #122F40.

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

Contrast with #12183F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #12183F?

#12183F is a deep blue color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #12183F?

#12183F in RGB is (18, 24, 63) - 18 red, 24 green, and 63 blue.

How to use #12183F in CSS?

Use #12183F directly in your CSS properties like color or background-color.

What colors go well with #12183F?

#403A12 (complementary), #122F40 (analogous), and #010204 (lighter shade) work well with #12183F.