Recognised as Colour
#04155E
- #04155E
- Blue
- Dark
- Nearest: Midnight blue
#04155E is a blue with RGB values 4, 21, 94 and HSL 229°, 92%, 19%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#04155E#04155E
HEX#04155E
RGBrgb(4, 21, 94)
RGB (0–1)0.0157, 0.0824, 0.3686
RGB percentages1.6%, 8.2%, 36.9%
HSLhsl(228.7, 91.8%, 19.2%)
HSV / HSBhsv(228.7, 95.7%, 36.9%)
CMYK95.7%, 77.7%, 0%, 63.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer267,614
CSS custom property--colour: #04155E;
Brightness & contrast
Relative luminance0.0137WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.48:1
Contrast with white16.48:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#FBEAA1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.48:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#5E4D04
Analogous#04425E, #20045E
Triadic#5E0415, #155E04
Split complementary#5E2004, #425E04
Tetradic#5E0442, #5E4D04, #045E20
Tints, shades & saturation
Channel breakdown
R4
G21
B94
Red4 (1.6%)
Green21 (8.2%)
Blue94 (36.9%)
Hue228.67°
Saturation (HSL)91.84%
Lightness19.22%
Dominant channelBlue
Hex per channelR 04 · G 15 · B 5E
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