#230C5F Color Information

Hex color code: #230C5F

#230C5F is a intense purple color. In RGB it is (35, 12, 95), and in HSL it is (257°, 78%, 21%). It is widely used in graphic design.

Try:
Color NameNavy
HEX
#230C5F
RGB
35, 12, 95
HSL
257°, 78%, 21%
CMYK
63%, 87%, 0%, 63%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #230C5F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #230C5F; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #230C5F; 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 #230C5F; background-color: #230C5F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #230C5F20; border-left: 4px solid #230C5F; }

Link / Accent

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

a { color: #230C5F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #230C5F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

35, 12, 95

Red: 35 / Green: 12 / Blue: 95

HSL

257°, 78%, 21%

Hue: 257° / Saturation: 78% / Lightness: 21%

CMYK

63%, 87%, 0%, 63%

Cyan: 63% / Magenta: 87% / Yellow: 0% / Key: 63%

What color is #230C5F?

#230C5F is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #230C5F to RGB:

rgb(35, 12, 95)HEX to RGB Converter →

HEX to HSL

Convert #230C5F to HSL:

hsl(257, 78%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #230C5F to CMYK:

cmyk(63%, 87%, 0%, 63%)Color Converter →

Color Meaning and Usage

A intense purple tone, #230C5F has RGB (35, 12, 95) and HSL (257°, 78%, 21%). Known for evoking creativity and luxury, this blue-purple hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #230C5F is #485F0C, creating high-contrast pairings. For softer combinations, try analogous colors like #0C1E5F.

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

Contrast with #230C5F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #230C5F?

#230C5F is a intense purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #230C5F?

#230C5F in RGB is (35, 12, 95) - 35 red, 12 green, and 95 blue.

How to use #230C5F in CSS?

Use #230C5F directly in your CSS properties like color or background-color.

What colors go well with #230C5F?

#485F0C (complementary), #0C1E5F (analogous), and #0A031B (lighter shade) work well with #230C5F.