Recognised as Colour
#04128C
- #04128C
- Blue
- Dark
- Nearest: Navy
#04128C is a blue with RGB values 4, 18, 140 and HSL 234°, 94%, 28%. It is a dark colour, so white text on it reaches 14.3:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#04128C#04128C
HEX#04128C
RGBrgb(4, 18, 140)
RGB (0–1)0.0157, 0.0706, 0.549
RGB percentages1.6%, 7.1%, 54.9%
HSLhsl(233.8, 94.4%, 28.2%)
HSV / HSBhsv(233.8, 97.1%, 54.9%)
CMYK97.1%, 87.1%, 0%, 45.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer266,892
CSS custom property--colour: #04128C;
Brightness & contrast
Relative luminance0.02352WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.28:1
Contrast with white14.28:1WCAG normal text: AAA
Contrast with black1.47:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#FBED73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.28:1WCAG large text: AAA
Contrast with black, large text1.47:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#8C7E04
Analogous#04568C, #3A048C
Triadic#8C0412, #128C04
Split complementary#8C3A04, #568C04
Tetradic#8C0456, #8C7E04, #048C3A
Tints, shades & saturation
Channel breakdown
R4
G18
B140
Red4 (1.6%)
Green18 (7.1%)
Blue140 (54.9%)
Hue233.82°
Saturation (HSL)94.44%
Lightness28.24%
Dominant channelBlue
Hex per channelR 04 · G 12 · B 8C
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