#230C5A Color Information

Hex color code: #230C5A

#230C5A is a deep purple color. In RGB it is (35, 12, 90), and in HSL it is (258°, 76%, 20%). It is commonly used in modern UI design.

Try:
Color NameNavy
HEX
#230C5A
RGB
35, 12, 90
HSL
258°, 76%, 20%
CMYK
61%, 87%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #230C5A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

35, 12, 90

Red: 35 / Green: 12 / Blue: 90

HSL

258°, 76%, 20%

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

CMYK

61%, 87%, 0%, 65%

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

What color is #230C5A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #230C5A to RGB:

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

HEX to HSL

Convert #230C5A to HSL:

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

HEX to CMYK

Convert #230C5A to CMYK:

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

Color Meaning and Usage

A dark purple tone, #230C5A has RGB (35, 12, 90) and HSL (258°, 76%, 20%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #230C5A is #435A0C, creating high-contrast pairings. For softer combinations, try analogous colors like #0C1C5A.

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

Contrast with #230C5A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #230C5A?

#230C5A is a dark purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #230C5A?

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

How to use #230C5A in CSS?

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

What colors go well with #230C5A?

#435A0C (complementary), #0C1C5A (analogous), and #090316 (lighter shade) work well with #230C5A.