#228DB4 Color Information

Hex color code: #228DB4

#228DB4 is a serene blue color. In RGB it is (34, 141, 180), and in HSL it is (196°, 68%, 42%). It is often used for branding and logos.

Try:
Color NameSteel Blue
HEX
#228DB4
RGB
34, 141, 180
HSL
196°, 68%, 42%
CMYK
81%, 22%, 0%, 29%

Shades

CSS Usage
color: #228DB4;
background-color: #228DB4;
border-color: #228DB4;
box-shadow: 0 0 10px #228DB4;
border: 2px solid #228DB4;
Tailwind Usage
bg-[#228DB4]
text-[#228DB4]
border-[#228DB4]
shadow-[0_0_10px_228DB4]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #228DB4, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #228DB4; color: #000000; }

Badge

New Feature
.badge { background-color: #228DB4; color: #000000; }

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 #228DB4; background-color: #228DB415; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #228DB420; border-left: 4px solid #228DB4; }

Link / Accent

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

a { color: #228DB4; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #228DB4 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 141, 180

Red: 34 / Green: 141 / Blue: 180

HSL

196°, 68%, 42%

Hue: 196° / Saturation: 68% / Lightness: 42%

CMYK

81%, 22%, 0%, 29%

Cyan: 81% / Magenta: 22% / Yellow: 0% / Key: 29%

What color is #228DB4?

#228DB4 is a cyan-blue hue associated with trust and professionalism.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #228DB4 to RGB:

rgb(34, 141, 180)HEX to RGB Converter →

HEX to HSL

Convert #228DB4 to HSL:

hsl(196, 68%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #228DB4 to CMYK:

cmyk(81%, 22%, 0%, 29%)Color Converter →

Color Meaning and Usage

A peaceful blue tone, #228DB4 has RGB (34, 141, 180) and HSL (196°, 68%, 42%). Known for evoking trust and professionalism, this cyan-blue hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #228DB4 is #B44922, creating high-contrast pairings. For softer combinations, try analogous colors like #22B492.

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

Contrast with #228DB4

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

Contrast Ratio: 5.54:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #228DB4?

#228DB4 is a peaceful blue color - a cyan-blue hue that evokes trust and professionalism.

What is the RGB value of #228DB4?

#228DB4 in RGB is (34, 141, 180) - 34 red, 141 green, and 180 blue.

How to use #228DB4 in CSS?

Use #228DB4 directly in your CSS properties like color or background-color.

What colors go well with #228DB4?

#B44922 (complementary), #22B492 (analogous), and #165B74 (lighter shade) work well with #228DB4.