#231F47 Color Information

Hex color code: #231F47

#231F47 is a dark blue color. In RGB it is (35, 31, 71), and in HSL it is (246°, 39%, 20%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#231F47
RGB
35, 31, 71
HSL
246°, 39%, 20%
CMYK
51%, 56%, 0%, 72%

Shades

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

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #231F47, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #231F47; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #231F47; 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 #231F47; background-color: #231F4715; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #231F4720; border-left: 4px solid #231F47; }

Link / Accent

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

a { color: #231F47; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #231F47 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

35, 31, 71

Red: 35 / Green: 31 / Blue: 71

HSL

246°, 39%, 20%

Hue: 246° / Saturation: 39% / Lightness: 20%

CMYK

51%, 56%, 0%, 72%

Cyan: 51% / Magenta: 56% / Yellow: 0% / Key: 72%

What color is #231F47?

#231F47 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #231F47 to RGB:

rgb(35, 31, 71)HEX to RGB Converter →

HEX to HSL

Convert #231F47 to HSL:

hsl(246, 39%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #231F47 to CMYK:

cmyk(51%, 56%, 0%, 72%)Color Converter →

Color Meaning and Usage

A deep blue tone, #231F47 has RGB (35, 31, 71) and HSL (246°, 39%, 20%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #231F47 is #43471F, creating high-contrast pairings. For softer combinations, try analogous colors like #1F2F47.

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

Contrast with #231F47

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #231F47?

#231F47 is a deep blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #231F47?

#231F47 in RGB is (35, 31, 71) - 35 red, 31 green, and 71 blue.

How to use #231F47 in CSS?

Use #231F47 directly in your CSS properties like color or background-color.

What colors go well with #231F47?

#43471F (complementary), #1F2F47 (analogous), and #090812 (lighter shade) work well with #231F47.