Black Rock

#040233

General Information about #040233

The hex color code #040233, also known as Black Rock, represents a very dark shade of blue-violet. It is composed of 1.57% red, 0.78% green, and 20% blue. In the RGB color model, it's defined by the values (4, 2, 51). The HSL representation is hue 242.31°, saturation 92.31%, and lightness 10.39%. This color falls into the category of very dark, muted colors, typically associated with depth, mystery, and sophistication. Due to its low luminance, it is often used sparingly and paired with lighter colors to create contrast and visual interest. Its hexadecimal nature makes it suitable for digital applications across different mediums.

The color #040233, also known as Black Rock, presents significant accessibility challenges, especially in web design. Its extremely low luminance makes it difficult to achieve sufficient contrast with lighter text or interface elements. According to WCAG guidelines, contrast ratios of at least 4.5:1 are recommended for normal text and 3:1 for large text to ensure readability for users with visual impairments. Given the darkness of #040233, careful consideration must be given to foreground colors. Light shades of yellow, white or green are viable options, but testing with accessibility tools is crucial. Using this color for large graphical elements or as a background can be more acceptable, but still requires thoughtful contrast management. Remember that color alone should never be used to convey important information; always provide alternative cues like text labels or icons to ensure usability for all users, including those with color blindness.

Shades

Digital Color Formats

RGB
4 2 51
RGB4 2 51
Red
Green
Blue
HSL
242.45deg 92.45% 10.39%
242.4592.4510.39HSL
Hue
Saturation
Lightness
HWB
242.45deg 0.78% 80%
242.450.7880HWB
Hue
Whiteness
Blackness
hex#040233
rgb4 2 51
hsl242.45deg 92.45% 10.39%
cmyk92.16% 96.08% 0% 80%
hwb242.45deg 0.78% 80%
xyz-d650.01 0 0.03
oklch0.1559 0.0935 270.9
oklab0.1559 0 -0.09
CMYK
92.16% 96.08% 0% 80%
92.1696.08080CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0 0.03
0.0100.03XYZ
X
Y
Z
OKLCH
0.1559 0.0935 270.9
0.15590.0935270.9LCH
Lightness
Chroma
Hue
OKLAB
0.1559 0 -0.09
0.15590-0.09LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons