Recognised as Colour
#0400A0
- #0400A0
- Blue
- Dark
- Nearest: Dark blue
#0400A0 is a blue with RGB values 4, 0, 160 and HSL 242°, 100%, 31%. It is a dark colour, so white text on it reaches 13.9:1 contrast (AAA for normal text). The nearest named colour is Dark blue.
Colour values
#0400A0#0400A0
HEX#0400A0
RGBrgb(4, 0, 160)
RGB (0–1)0.0157, 0, 0.6275
RGB percentages1.6%, 0%, 62.7%
HSLhsl(241.5, 100%, 31.4%)
HSV / HSBhsv(241.5, 100%, 62.7%)
CMYK97.5%, 100%, 0%, 37.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,304
CSS custom property--colour: #0400A0;
Brightness & contrast
Relative luminance0.02564WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.88:1
Contrast with white13.88:1WCAG normal text: AAA
Contrast with black1.51:1WCAG normal text: Fail
Greyscale equivalent#0C0C0C
Inverted#FBFF5F
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.88:1WCAG large text: AAA
Contrast with black, large text1.51:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#9CA000
Analogous#004CA0, #5400A0
Triadic#A00400, #00A004
Split complementary#A05400, #4CA000
Tetradic#A0004C, #9CA000, #00A054
Tints, shades & saturation
Channel breakdown
R4
G0
B160
Red4 (1.6%)
Green0 (0%)
Blue160 (62.7%)
Hue241.5°
Saturation (HSL)100%
Lightness31.37%
Dominant channelBlue
Hex per channelR 04 · G 00 · B A0
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