Blue

#0402E4

General Information about #0402E4

The hexadecimal color code #0402e4 represents a specific shade of blue in the RGB color model. It is formed by a combination of 4 red, 2 green, and 228 blue. This color resides within the blue spectrum, characterized by its strong blue component and negligible red and green contributions. In the sRGB color space, its coordinates are R:4, G:2, B:228. It is primarily utilized in digital displays and graphic design. Understanding the composition of hex colors is crucial for designers and developers to accurately reproduce colors across different platforms and devices. Its hexadecimal triplet is 0402e4. In terms of light and darkness, it is a darker color.

The hex color #0402e4, a deep and vibrant blue, presents specific accessibility considerations for web development. Its high saturation and low luminance can pose challenges for users with visual impairments. When used as text, it's crucial to ensure a sufficiently high contrast ratio against the background. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text (14pt bold or 18pt regular) to meet WCAG AA standards. Using this color for essential UI elements like buttons or links requires careful evaluation. Providing alternative text descriptions for images or icons using this color is essential for screen reader users. Avoid using it as the sole indicator of interactive elements; supplement with other cues like underlines or borders. Thoughtful application ensures inclusivity and optimal user experience.

Shades

Digital Color Formats

RGB
4 2 228
RGB4 2 228
Red
Green
Blue
HSL
240.53deg 98.26% 45.1%
240.5398.2645.1HSL
Hue
Saturation
Lightness
HWB
240.53deg 0.78% 10.59%
240.530.7810.59HWB
Hue
Whiteness
Blackness
hex#0402E4
rgb4 2 228
hsl240.53deg 98.26% 45.1%
cmyk98.25% 99.12% 0% 10.59%
hwb240.53deg 0.78% 10.59%
xyz-d650.14 0.06 0.74
oklch0.4168 0.2868 264.42
oklab0.4168 -0.03 -0.29
CMYK
98.25% 99.12% 0% 10.59%
98.2599.12010.59CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.14 0.06 0.74
0.140.060.74XYZ
X
Y
Z
OKLCH
0.4168 0.2868 264.42
0.41680.2868264.42LCH
Lightness
Chroma
Hue
OKLAB
0.4168 -0.03 -0.29
0.4168-0.03-0.29LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons