#1238B5 Color Information

Hex color code: #1238B5

A bold blue shade, #1238B5 appears as (18, 56, 181) in RGB and (226°, 82%, 39%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#1238B5
RGB
18, 56, 181
HSL
226°, 82%, 39%
CMYK
90%, 69%, 0%, 29%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #1238B5, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #1238B5; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #1238B5; 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 #1238B5; background-color: #1238B515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #1238B520; border-left: 4px solid #1238B5; }

Link / Accent

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

a { color: #1238B5; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #1238B5 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

18, 56, 181

Red: 18 / Green: 56 / Blue: 181

HSL

226°, 82%, 39%

Hue: 226° / Saturation: 82% / Lightness: 39%

CMYK

90%, 69%, 0%, 29%

Cyan: 90% / Magenta: 69% / Yellow: 0% / Key: 29%

What color is #1238B5?

#1238B5 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #1238B5 to RGB:

rgb(18, 56, 181)HEX to RGB Converter →

HEX to HSL

Convert #1238B5 to HSL:

hsl(226, 82%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #1238B5 to CMYK:

cmyk(90%, 69%, 0%, 29%)Color Converter →

Color Meaning and Usage

A bold blue tone, #1238B5 has RGB (18, 56, 181) and HSL (226°, 82%, 39%). Known for evoking energy and excitement, this highly saturated hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #1238B5 is #B58F12, creating high-contrast pairings. For softer combinations, try analogous colors like #128AB5.

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

Contrast with #1238B5

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #1238B5?

#1238B5 is a bold blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #1238B5?

#1238B5 in RGB is (18, 56, 181) - 18 red, 56 green, and 181 blue.

How to use #1238B5 in CSS?

Use #1238B5 directly in your CSS properties like color or background-color.

What colors go well with #1238B5?

#B58F12 (complementary), #128AB5 (analogous), and #0B226F (lighter shade) work well with #1238B5.