Blue

#0228E4

About Hex Color #0228E4

The hexadecimal color code #0228E4 represents a specific shade of blue in the RGB (Red, Green, Blue) color model. This particular blue is a vibrant and somewhat deep hue, characterized by a very low red component (02), a moderate green component (28), and a very high blue component (E4). Hexadecimal color codes are widely used in web design, graphic design, and other digital applications to precisely define colors. The color is created through additive color mixing, where red, green, and blue light are combined in varying intensities. Understanding the composition of a hex code allows designers and developers to accurately reproduce colors across different media and platforms, ensuring consistency in visual representation.

The hex color #0228E4, a vibrant and deep blue, presents several accessibility considerations for web development. Its contrast ratio against a white background is low, making text difficult to read for users with visual impairments. To ensure accessibility, it's crucial to use this color with lighter backgrounds or in combination with high-contrast text colors like white or yellow. Adhering to WCAG guidelines, aiming for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is vital. Additionally, avoid using this color as the sole indicator for interactive elements, as colorblind users may not perceive the difference. Providing alternative visual cues, such as underlines or icons, is essential for inclusive design. When used thoughtfully with attention to contrast and redundant coding, #0228E4 can enhance visual appeal without compromising accessibility.

Shades

Digital Color Formats

RGB
2 40 228
RGB2 40 228
Red
Green
Blue
HSL
229.91deg 98.26% 45.1%
229.9198.2645.1HSL
Hue
Saturation
Lightness
HWB
229.91deg 0.78% 10.59%
229.910.7810.59HWB
Hue
Whiteness
Blackness
hex#0228E4
rgb2 40 228
hsl229.91deg 98.26% 45.1%
cmyk99.12% 82.46% 0% 10.59%
hwb229.91deg 0.78% 10.59%
xyz-d650.15 0.07 0.74
oklch0.4409 0.2706 264.34
oklab0.4409 -0.03 -0.27
CMYK
99.12% 82.46% 0% 10.59%
99.1282.46010.59CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.15 0.07 0.74
0.150.070.74XYZ
X
Y
Z
OKLCH
0.4409 0.2706 264.34
0.44090.2706264.34LCH
Lightness
Chroma
Hue
OKLAB
0.4409 -0.03 -0.27
0.4409-0.03-0.27LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons