Recognised as Colour
#041540
- #041540
- Blue
- Dark
- Nearest: Midnight blue
#041540 is a blue with RGB values 4, 21, 64 and HSL 223°, 88%, 13%. It is a dark colour, so white text on it reaches 17.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#041540#041540
HEX#041540
RGBrgb(4, 21, 64)
RGB (0–1)0.0157, 0.0824, 0.251
RGB percentages1.6%, 8.2%, 25.1%
HSLhsl(223, 88.2%, 13.3%)
HSV / HSBhsv(223, 93.8%, 25.1%)
CMYK93.8%, 67.2%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer267,584
CSS custom property--colour: #041540;
Brightness & contrast
Relative luminance0.00932WCAG 2.x, 0 is black and 1 is white
Perceived brightness27 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.7:1
Contrast with white17.7:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#FBEABF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.7:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#402F04
Analogous#043340, #110440
Triadic#400415, #154004
Split complementary#401104, #334004
Tetradic#400433, #402F04, #044011
Tints, shades & saturation
Channel breakdown
R4
G21
B64
Red4 (1.6%)
Green21 (8.2%)
Blue64 (25.1%)
Hue223°
Saturation (HSL)88.24%
Lightness13.33%
Dominant channelBlue
Hex per channelR 04 · G 15 · B 40
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page