Recognised as Colour
#04248D
- #04248D
- Blue
- Dark
- Nearest: Midnight blue
#04248D is a blue with RGB values 4, 36, 141 and HSL 226°, 94%, 28%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#04248D#04248D
HEX#04248D
RGBrgb(4, 36, 141)
RGB (0–1)0.0157, 0.1412, 0.5529
RGB percentages1.6%, 14.1%, 55.3%
HSLhsl(226, 94.5%, 28.4%)
HSV / HSBhsv(226, 97.2%, 55.3%)
CMYK97.2%, 74.5%, 0%, 44.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer271,501
CSS custom property--colour: #04248D;
Brightness & contrast
Relative luminance0.03211WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.79:1
Contrast with white12.79:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#252525
Inverted#FBDB72
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.79:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8D6D04
Analogous#04688D, #29048D
Triadic#8D0424, #248D04
Split complementary#8D2904, #698D04
Tetradic#8D0468, #8D6D04, #048D28
Tints, shades & saturation
Channel breakdown
R4
G36
B141
Red4 (1.6%)
Green36 (14.1%)
Blue141 (55.3%)
Hue225.99°
Saturation (HSL)94.48%
Lightness28.43%
Dominant channelBlue
Hex per channelR 04 · G 24 · B 8D
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