#226EF1 Color Information

Hex color code: #226EF1

A bold blue shade, #226EF1 appears as (34, 110, 241) in RGB and (218°, 88%, 54%) in HSL. It is often used for branding and logos.

Try:
Color NameRoyal Blue
HEX
#226EF1
RGB
34, 110, 241
HSL
218°, 88%, 54%
CMYK
86%, 54%, 0%, 5%

Shades

CSS Usage
color: #226EF1;
background-color: #226EF1;
border-color: #226EF1;
box-shadow: 0 0 10px #226EF1;
border: 2px solid #226EF1;
Tailwind Usage
bg-[#226EF1]
text-[#226EF1]
border-[#226EF1]
shadow-[0_0_10px_226EF1]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #226EF1, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #226EF1; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #226EF1; 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 #226EF1; background-color: #226EF115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #226EF120; border-left: 4px solid #226EF1; }

Link / Accent

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

a { color: #226EF1; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #226EF1 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

34, 110, 241

Red: 34 / Green: 110 / Blue: 241

HSL

218°, 88%, 54%

Hue: 218° / Saturation: 88% / Lightness: 54%

CMYK

86%, 54%, 0%, 5%

Cyan: 86% / Magenta: 54% / Yellow: 0% / Key: 5%

What color is #226EF1?

#226EF1 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #226EF1 to RGB:

rgb(34, 110, 241)HEX to RGB Converter →

HEX to HSL

Convert #226EF1 to HSL:

hsl(218, 88%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #226EF1 to CMYK:

cmyk(86%, 54%, 0%, 5%)Color Converter →

Color Meaning and Usage

A striking blue tone, #226EF1 has RGB (34, 110, 241) and HSL (218°, 88%, 54%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #226EF1 is #F1A522, creating high-contrast pairings. For softer combinations, try analogous colors like #22D5F1.

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

Contrast with #226EF1

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #226EF1?

#226EF1 is a striking blue color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #226EF1?

#226EF1 in RGB is (34, 110, 241) - 34 red, 110 green, and 241 blue.

How to use #226EF1 in CSS?

Use #226EF1 directly in your CSS properties like color or background-color.

What colors go well with #226EF1?

#F1A522 (complementary), #22D5F1 (analogous), and #0C4CBB (lighter shade) work well with #226EF1.