Recognised as Colour
#0400A2
- #0400A2
- Blue
- Dark
- Nearest: Dark blue
#0400A2 is a blue with RGB values 4, 0, 162 and HSL 241°, 100%, 32%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#0400A2#0400A2
HEX#0400A2
RGBrgb(4, 0, 162)
RGB (0–1)0.0157, 0, 0.6353
RGB percentages1.6%, 0%, 63.5%
HSLhsl(241.5, 100%, 31.8%)
HSV / HSBhsv(241.5, 100%, 63.5%)
CMYK97.5%, 100%, 0%, 36.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,306
CSS custom property--colour: #0400A2;
Brightness & contrast
Relative luminance0.02634WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.75:1
Contrast with white13.75:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#FBFF5D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.75:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#9EA200
Analogous#004DA2, #5500A2
Triadic#A20400, #00A204
Split complementary#A25500, #4DA200
Tetradic#A2004D, #9EA200, #00A255
Tints, shades & saturation
Channel breakdown
R4
G0
B162
Red4 (1.6%)
Green0 (0%)
Blue162 (63.5%)
Hue241.48°
Saturation (HSL)100%
Lightness31.76%
Dominant channelBlue
Hex per channelR 04 · G 00 · B A2
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