Recognised as Colour
#041F8B
- #041F8B
- Blue
- Dark
- Nearest: Midnight blue
#041F8B is a blue with RGB values 4, 31, 139 and HSL 228°, 94%, 28%. It is a dark colour, so white text on it reaches 13.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#041F8B#041F8B
HEX#041F8B
RGBrgb(4, 31, 139)
RGB (0–1)0.0157, 0.1216, 0.5451
RGB percentages1.6%, 12.2%, 54.5%
HSLhsl(228, 94.4%, 28%)
HSV / HSBhsv(228, 97.1%, 54.5%)
CMYK97.1%, 77.7%, 0%, 45.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer270,219
CSS custom property--colour: #041F8B;
Brightness & contrast
Relative luminance0.0287WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.34:1
Contrast with white13.34:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#FBE074
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.34:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8B7004
Analogous#04638B, #2C048B
Triadic#8B041F, #1F8B04
Split complementary#8B2D04, #628B04
Tetradic#8B0463, #8B7004, #048B2C
Tints, shades & saturation
Channel breakdown
R4
G31
B139
Red4 (1.6%)
Green31 (12.2%)
Blue139 (54.5%)
Hue228°
Saturation (HSL)94.41%
Lightness28.04%
Dominant channelBlue
Hex per channelR 04 · G 1F · B 8B
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page