Recognised as Colour
#04338D
- #04338D
- Blue
- Dark
- Nearest: Midnight blue
#04338D is a blue with RGB values 4, 51, 141 and HSL 219°, 94%, 28%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#04338D#04338D
HEX#04338D
RGBrgb(4, 51, 141)
RGB (0–1)0.0157, 0.2, 0.5529
RGB percentages1.6%, 20%, 55.3%
HSLhsl(219.4, 94.5%, 28.4%)
HSV / HSBhsv(219.4, 97.2%, 55.3%)
CMYK97.2%, 63.8%, 0%, 44.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer275,341
CSS custom property--colour: #04338D;
Brightness & contrast
Relative luminance0.04317WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.27:1
Contrast with white11.27:1WCAG normal text: AAA
Contrast with black1.86:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#FBCC72
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.27:1WCAG large text: AAA
Contrast with black, large text1.86:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8D5E04
Analogous#04788D, #19048D
Triadic#8D0433, #338D04
Split complementary#8D1A04, #788D04
Tetradic#8D0478, #8D5E04, #048D19
Tints, shades & saturation
Channel breakdown
R4
G51
B141
Red4 (1.6%)
Green51 (20%)
Blue141 (55.3%)
Hue219.42°
Saturation (HSL)94.48%
Lightness28.43%
Dominant channelBlue
Hex per channelR 04 · G 33 · B 8D
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