Midnight

#050F2F

General Information about #050F2F

The hexadecimal color code #050F2F, also known as Midnight, represents a very dark shade of blue. It is composed of 2% red, 6% green, and 18% blue. In the RGB color model, #050F2F has the decimal values 5, 15, and 47, respectively. This color is often associated with feelings of depth, mystery, and sophistication. Due to its darkness, it tends to absorb light rather than reflect it, making it suitable for creating a sense of enclosure or privacy. In color psychology, dark blues like #050F2F are also linked to trustworthiness, intelligence, and authority. It can be used in several creative fields.

The color #050F2F, a very dark shade of blue, presents significant accessibility challenges, especially when used as a text color. Due to its low lightness value, the contrast ratio against a standard white background is extremely poor, failing WCAG (Web Content Accessibility Guidelines) standards for both normal and large text sizes. This means that users, especially those with visual impairments, may struggle or be unable to read text rendered in this color. To improve accessibility, it's crucial to pair #050F2F with a much lighter color for text or user interface elements. A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text is recommended. Tools are available online to calculate contrast ratios and help select accessible color combinations, ensuring that your website or application is usable by everyone.

Shades

Digital Color Formats

RGB
5 15 47
RGB5 15 47
Red
Green
Blue
HSL
225.71deg 80.77% 10.2%
225.7180.7710.2HSL
Hue
Saturation
Lightness
HWB
225.71deg 1.96% 81.57%
225.711.9681.57HWB
Hue
Whiteness
Blackness
hex#050F2F
rgb5 15 47
hsl225.71deg 80.77% 10.2%
cmyk89.36% 68.09% 0% 81.57%
hwb225.71deg 1.96% 81.57%
xyz-d650.01 0.01 0.03
oklch0.1831 0.0661 265.72
oklab0.1831 0 -0.07
CMYK
89.36% 68.09% 0% 81.57%
89.3668.09081.57CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.03
0.010.010.03XYZ
X
Y
Z
OKLCH
0.1831 0.0661 265.72
0.18310.0661265.72LCH
Lightness
Chroma
Hue
OKLAB
0.1831 0 -0.07
0.18310-0.07LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons